mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 04:41:42 +00:00
replace DoFileSearch with optimized version
This commit is contained in:
parent
f16599f4a8
commit
c5fa470ad8
12 changed files with 97 additions and 34 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue