diff options
| author | Léo Lam <leo@leolam.fr> | 2021-12-14 11:08:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-14 11:08:38 +0100 |
| commit | 185475fe03c758a2346c170bd9395227d78b0f63 (patch) | |
| tree | dc496e8bda35b3a9b1efb1382bdc20e3dac2f62f /Source/Core/UICommon/GameFileCache.cpp | |
| parent | 45fac5137b6cf3da1ee8ccc65eced6d969152a93 (diff) | |
| parent | b928900f6e1097a189cd78491df00ed7890949d6 (diff) | |
Merge pull request #10187 from AdmiralCurtiss/json-gamelist
Support for GameModDescriptor 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); |
