mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
replace DoFileSearch with optimized version
This commit is contained in:
@ -1687,7 +1687,7 @@ void CFrame::GameListChanged(wxCommandEvent& event)
|
||||
break;
|
||||
case IDM_PURGE_GAME_LIST_CACHE:
|
||||
std::vector<std::string> filenames =
|
||||
Common::DoFileSearch({".cache"}, {File::GetUserPath(D_CACHE_IDX)});
|
||||
Common::DoFileSearch({File::GetUserPath(D_CACHE_IDX)}, {".cache"});
|
||||
|
||||
for (const std::string& filename : filenames)
|
||||
{
|
||||
|
Reference in New Issue
Block a user