Procházet zdrojové kódy

patch_manager: Display cheats in game list add-ons

Zach Hilman před 7 roky
rodič
revize
4495bf5706
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;