mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-22 02:52:38 +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
|
@ -196,9 +196,8 @@ void InterfaceConfigPane::LoadGUIValues()
|
|||
|
||||
void InterfaceConfigPane::LoadThemes()
|
||||
{
|
||||
auto sv = Common::DoFileSearch(
|
||||
{""}, {File::GetUserPath(D_THEMES_IDX), File::GetSysDirectory() + THEMES_DIR},
|
||||
/*recursive*/ false);
|
||||
auto sv =
|
||||
Common::DoFileSearch({File::GetUserPath(D_THEMES_IDX), File::GetSysDirectory() + THEMES_DIR});
|
||||
for (const std::string& filename : sv)
|
||||
{
|
||||
std::string name, ext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue