mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-15 23:30:25 +02:00
Common/FileSearch: Refactor DoFileSearch
This commit is contained in:
1 parent
3221e982d3
commit
f2e1c71803
19 files changed
+87
-48
No files matched your search
@@ -32,7 +32,7 @@ void DynamicInputTextureManager::Load()
|
||||
|
||||
for (const auto& dynamic_input_directory : dynamic_input_directories)
|
||||
{
|
||||
const auto json_files = Common::DoFileSearch({dynamic_input_directory}, {".json"});
|
||||
const auto json_files = Common::DoFileSearch(dynamic_input_directory, ".json");
|
||||
for (auto& file : json_files)
|
||||
{
|
||||
m_configuration.emplace_back(file);
|
||||
|
||||
Reference in new issue
Block a user