patch_manager: Display cheats in game list add-ons

This commit is contained in:
Zach Hilman 2018-12-22 21:29:15 -05:00
parent c5091bfe00
commit 4495bf5706
1 changed files with 2 additions and 0 deletions

View File

@ -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;