summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nso.cpp
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-06-15 22:47:13 +0200
committerGitHub <noreply@github.com>2019-06-15 22:47:13 +0200
commitc140b6ae2ca6bc318f47b74a6946ddb10d282dbe (patch)
tree6407b0465b93a7cfc0a5733e0d8dd3bb26742a15 /src/core/loader/nso.cpp
parentMerge pull request #2582 from lioncash/reserved (diff)
parentcommon/hex_util: Reserve std::string memory ahead of time (diff)
downloadyuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.tar
yuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.tar.gz
yuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.tar.bz2
yuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.tar.lz
yuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.tar.xz
yuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.tar.zst
yuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.zip
Diffstat (limited to 'src/core/loader/nso.cpp')
-rw-r--r--src/core/loader/nso.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index 62c090353..80090b792 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -152,8 +152,8 @@ 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::HexArrayToString(nso_header.build_id),
- load_base, load_base + program_image.size());
+ system.RegisterCheatList(cheats, Common::HexToString(nso_header.build_id), load_base,
+ load_base + program_image.size());
}
}