mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
replace DoFileSearch with optimized version
This commit is contained in:
@ -148,7 +148,7 @@ GCMemcardDirectory::GCMemcardDirectory(const std::string& directory, int slot, u
|
||||
hdr_file.ReadBytes(&m_hdr, BLOCK_SIZE);
|
||||
}
|
||||
|
||||
std::vector<std::string> filenames = Common::DoFileSearch({".gci"}, {m_save_directory});
|
||||
std::vector<std::string> filenames = Common::DoFileSearch({m_save_directory}, {".gci"});
|
||||
|
||||
if (filenames.size() > 112)
|
||||
{
|
||||
|
Reference in New Issue
Block a user