Common/FileSearch: Refactor DoFileSearch
This commit is contained in:
1 parent
3221e982d3
commit
f2e1c71803
19 files changed
+87
-48
No files matched your search
@@ -58,7 +58,7 @@ void TextureDumper::DumpTexture(const ::AbstractTexture& texture, std::string ba
|
||||
if (!File::IsDirectory(dump_dir))
|
||||
File::CreateDir(dump_dir);
|
||||
|
||||
for (auto& filename : Common::DoFileSearch({dump_dir}, {".png"}, true))
|
||||
for (auto& filename : Common::DoFileSearch(dump_dir, ".png", true))
|
||||
{
|
||||
std::string name;
|
||||
SplitPath(filename, nullptr, &name, nullptr);
|
||||
|
||||
Reference in new issue
Block a user