diff options
| author | 2019-06-15 16:47:13 -0400 | |
|---|---|---|
| committer | 2019-06-15 16:47:13 -0400 | |
| commit | c140b6ae2ca6bc318f47b74a6946ddb10d282dbe (patch) | |
| tree | 6407b0465b93a7cfc0a5733e0d8dd3bb26742a15 /src/core/loader/nso.cpp | |
| parent | Merge pull request #2582 from lioncash/reserved (diff) | |
| parent | common/hex_util: Reserve std::string memory ahead of time (diff) | |
| download | yuzu-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/nso.cpp')
| -rw-r--r-- | src/core/loader/nso.cpp | 4 |
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 | ||