mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
FileSearch: Don't use RegExs, just do string comparisons.
Nothing used the RegEx feature of FileSearch, and GCC < 4.9 doesn't support C++11 RegEx properly, so get rid of it.
This commit is contained in:
@ -153,7 +153,7 @@ GCMemcardDirectory::GCMemcardDirectory(const std::string& directory, int slot, u
|
||||
hdrfile.ReadBytes(&m_hdr, BLOCK_SIZE);
|
||||
}
|
||||
|
||||
std::vector<std::string> rFilenames = DoFileSearch({"*.gci"}, {m_SaveDirectory});
|
||||
std::vector<std::string> rFilenames = DoFileSearch({".gci"}, {m_SaveDirectory});
|
||||
|
||||
if (rFilenames.size() > 112)
|
||||
{
|
||||
|
Reference in New Issue
Block a user