summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-23 03:29:15 +0100
committerZach Hilman <zachhilman@gmail.com>2019-03-05 00:39:57 +0100
commit4495bf5706d989e2dddaa80c3435b20698e6c11a (patch)
tree753fecd3067b818f8a6cdcf52935896f9bf4389b
parentpatch_manager: Add support for loading cheats lists (diff)
downloadyuzu-4495bf5706d989e2dddaa80c3435b20698e6c11a.tar
yuzu-4495bf5706d989e2dddaa80c3435b20698e6c11a.tar.gz
yuzu-4495bf5706d989e2dddaa80c3435b20698e6c11a.tar.bz2
yuzu-4495bf5706d989e2dddaa80c3435b20698e6c11a.tar.lz
yuzu-4495bf5706d989e2dddaa80c3435b20698e6c11a.tar.xz
yuzu-4495bf5706d989e2dddaa80c3435b20698e6c11a.tar.zst
yuzu-4495bf5706d989e2dddaa80c3435b20698e6c11a.zip
-rw-r--r--src/core/file_sys/patch_manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index f0fb28e2f..2b09e5d35 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/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;