Przeglądaj źródła

patch_manager: Display cheats in game list add-ons

Zach Hilman 7 lat temu
rodzic
commit
4495bf5706
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/core/file_sys/patch_manager.cpp

+ 2 - 0
src/core/file_sys/patch_manager.cpp

@@ -455,6 +455,8 @@ std::map<std::string, std::string, std::less<>> PatchManager::GetPatchVersionNam
             }
             if (IsDirValidAndNonEmpty(mod->GetSubdirectory("romfs")))
                 AppendCommaIfNotEmpty(types, "LayeredFS");
+            if (IsDirValidAndNonEmpty(mod->GetSubdirectory("cheats")))
+                AppendCommaIfNotEmpty(types, "Cheats");
 
             if (types.empty())
                 continue;