summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-06-15 16:47:13 -0400
committerGravatar GitHub2019-06-15 16:47:13 -0400
commitc140b6ae2ca6bc318f47b74a6946ddb10d282dbe (patch)
tree6407b0465b93a7cfc0a5733e0d8dd3bb26742a15 /src/core/loader
parentMerge pull request #2582 from lioncash/reserved (diff)
parentcommon/hex_util: Reserve std::string memory ahead of time (diff)
downloadyuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.tar.gz
yuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.tar.xz
yuzu-c140b6ae2ca6bc318f47b74a6946ddb10d282dbe.zip
Merge pull request #2581 from lioncash/hex
common/hex_util: Combine HexVectorToString() and HexArrayToString()
Diffstat (limited to 'src/core/loader')
-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,
152 auto& system = Core::System::GetInstance(); 152 auto& system = Core::System::GetInstance();
153 const auto cheats = pm->CreateCheatList(system, nso_header.build_id); 153 const auto cheats = pm->CreateCheatList(system, nso_header.build_id);
154 if (!cheats.empty()) { 154 if (!cheats.empty()) {
155 system.RegisterCheatList(cheats, Common::HexArrayToString(nso_header.build_id), 155 system.RegisterCheatList(cheats, Common::HexToString(nso_header.build_id), load_base,
156 load_base, load_base + program_image.size()); 156 load_base + program_image.size());
157 } 157 }
158 } 158 }
159 159