summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-31 01:35:28 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-22 03:44:22 +0200
commitc6becfc9f58c3552eaa5338ca59695e385f5688c (patch)
treeab8b7a88322ffcd89fc0d714cec210e7bbc78bf4 /src
parentcheat_engine: Move to memory and strip VM (diff)
downloadyuzu-c6becfc9f58c3552eaa5338ca59695e385f5688c.tar
yuzu-c6becfc9f58c3552eaa5338ca59695e385f5688c.tar.gz
yuzu-c6becfc9f58c3552eaa5338ca59695e385f5688c.tar.bz2
yuzu-c6becfc9f58c3552eaa5338ca59695e385f5688c.tar.lz
yuzu-c6becfc9f58c3552eaa5338ca59695e385f5688c.tar.xz
yuzu-c6becfc9f58c3552eaa5338ca59695e385f5688c.tar.zst
yuzu-c6becfc9f58c3552eaa5338ca59695e385f5688c.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/loader/nso.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index 70c90109f..e75c700ad 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -152,8 +152,7 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::Process& process,
auto& system = Core::System::GetInstance();
const auto cheats = pm->CreateCheatList(system, nso_header.build_id);
if (!cheats.empty()) {
- system.RegisterCheatList(cheats, Common::HexToString(nso_header.build_id), load_base,
- load_base + program_image.size());
+ system.RegisterCheatList(cheats, nso_header.build_id, load_base, image_size);
}
}