Skip to content
Snippets Groups Projects
Commit c6becfc9 authored by Zach Hilman's avatar Zach Hilman
Browse files

nso: Pass build ID directly

As opposed to converting to string and then back to hex array
parent 7d41c1f5
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment