summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nso.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-29 00:43:48 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-30 23:21:53 +0200
commitf6c53526b3e6852577ad5f5986be89202b15c5b2 (patch)
treedab7e623b1e6a2783effbda7a53f232d18aaf6ec /src/core/loader/nso.cpp
parentapplets: Add accessor for AppletFrontendSet (diff)
downloadyuzu-f6c53526b3e6852577ad5f5986be89202b15c5b2.tar
yuzu-f6c53526b3e6852577ad5f5986be89202b15c5b2.tar.gz
yuzu-f6c53526b3e6852577ad5f5986be89202b15c5b2.tar.bz2
yuzu-f6c53526b3e6852577ad5f5986be89202b15c5b2.tar.lz
yuzu-f6c53526b3e6852577ad5f5986be89202b15c5b2.tar.xz
yuzu-f6c53526b3e6852577ad5f5986be89202b15c5b2.tar.zst
yuzu-f6c53526b3e6852577ad5f5986be89202b15c5b2.zip
Diffstat (limited to 'src/core/loader/nso.cpp')
-rw-r--r--src/core/loader/nso.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index e75c700ad..f629892ae 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -150,6 +150,7 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::Process& process,
// Apply cheats if they exist and the program has a valid title ID
if (pm) {
auto& system = Core::System::GetInstance();
+ system.SetCurrentProcessBuildID(nso_header.build_id);
const auto cheats = pm->CreateCheatList(system, nso_header.build_id);
if (!cheats.empty()) {
system.RegisterCheatList(cheats, nso_header.build_id, load_base, image_size);