diff options
author | Lioncash <mathew1800@gmail.com> | 2019-06-12 17:27:06 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-06-12 17:54:05 -0400 |
commit | a62088539ed02a8569814601b3b99b713c5d8a34 (patch) | |
tree | 03fe279e7651c55291f702f5a8b518cb07e35812 /src/core/loader/nso.cpp | |
parent | 7e2bcf04b471579054424fd26746826747c0d335 (diff) |
common/hex_util: Combine HexVectorToString() and HexArrayToString()
These can be generified together by using a concept type to designate
them. This also has the benefit of not making copies of potentially very
large arrays.
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, 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()); } } |