Просмотр исходного кода

patch_manager: Display cheats in game list add-ons

Zach Hilman 7 лет назад
Родитель
Сommit
4495bf5706
1 измененных файлов с 2 добавлено и 0 удалено
  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")))
             if (IsDirValidAndNonEmpty(mod->GetSubdirectory("romfs")))
                 AppendCommaIfNotEmpty(types, "LayeredFS");
                 AppendCommaIfNotEmpty(types, "LayeredFS");
+            if (IsDirValidAndNonEmpty(mod->GetSubdirectory("cheats")))
+                AppendCommaIfNotEmpty(types, "Cheats");
 
 
             if (types.empty())
             if (types.empty())
                 continue;
                 continue;