From da161faff46d9de45b4e80ebf498fc11f85bb493 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Tue, 26 Oct 2021 02:01:16 +0200 Subject: GameList: Show game mod descriptor .json files in game list. --- Source/Core/UICommon/GameFileCache.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/Core/UICommon/GameFileCache.cpp') 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 FindAllGamePaths(const std::vector& directories_to_scan, bool recursive_scan) { - static const std::vector search_extensions = { - ".gcm", ".tgc", ".iso", ".ciso", ".gcz", ".wbfs", ".wia", ".rvz", ".wad", ".dol", ".elf"}; + static const std::vector 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); -- cgit v1.2.3