diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2019-09-22 08:24:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 08:24:42 +0200 |
commit | 9187350b322c3140c2bec3938b91289ab55e9aae (patch) | |
tree | c2f9d045cee2bb87b1182ae93d5072b416b1b87c /src/core/loader | |
parent | Merge pull request #2709 from DarkLordZach/oss-ext-fonts-1 (diff) | |
parent | dmnt_cheat_vm: Default initialize structure values (diff) | |
download | yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.gz yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.bz2 yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.lz yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.xz yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.zst yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.zip |
Diffstat (limited to 'src/core/loader')
-rw-r--r-- | src/core/loader/nso.cpp | 3 |
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); } } |