diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2021-10-26 02:01:16 +0200 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2021-12-12 21:26:09 +0100 |
| commit | da161faff46d9de45b4e80ebf498fc11f85bb493 (patch) | |
| tree | 8f94fe54b347dd279c3a7d0f939ed1d064f5c80f /Source/Core/UICommon/GameFileCache.cpp | |
| parent | aa0595589aa10d5c6958b61814628d8c12f3f087 (diff) | |
GameList: Show game mod descriptor .json files in game list.
Diffstat (limited to 'Source/Core/UICommon/GameFileCache.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFileCache.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/UICommon/GameFileCache.cpp b/Source/Core/UICommon/GameFileCache.cpp index a1b55b3614..1040c24b2f 100644 --- a/Source/Core/UICommon/GameFileCache.cpp +++ b/Source/Core/UICommon/GameFileCache.cpp @@ -27,13 +27,14 @@ namespace UICommon { -static constexpr u32 CACHE_REVISION = 20; // Last changed in PR 9461 +static constexpr u32 CACHE_REVISION = 21; // Last changed in PR 10187 std::vector<std::string> FindAllGamePaths(const std::vector<std::string>& directories_to_scan, bool recursive_scan) { - static const std::vector<std::string> search_extensions = { - ".gcm", ".tgc", ".iso", ".ciso", ".gcz", ".wbfs", ".wia", ".rvz", ".wad", ".dol", ".elf"}; + static const std::vector<std::string> search_extensions = {".gcm", ".tgc", ".iso", ".ciso", + ".gcz", ".wbfs", ".wia", ".rvz", + ".wad", ".dol", ".elf", ".json"}; // TODO: We could process paths iteratively as they are found return Common::DoFileSearch(directories_to_scan, search_extensions, recursive_scan); |
