mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
nso: Pass build ID directly
As opposed to converting to string and then back to hex array
This commit is contained in:
parent
7d41c1f523
commit
c6becfc9f5
1 changed files with 1 additions and 2 deletions
|
@ -152,8 +152,7 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::Process& process,
|
||||||
auto& system = Core::System::GetInstance();
|
auto& system = Core::System::GetInstance();
|
||||||
const auto cheats = pm->CreateCheatList(system, nso_header.build_id);
|
const auto cheats = pm->CreateCheatList(system, nso_header.build_id);
|
||||||
if (!cheats.empty()) {
|
if (!cheats.empty()) {
|
||||||
system.RegisterCheatList(cheats, Common::HexToString(nso_header.build_id), load_base,
|
system.RegisterCheatList(cheats, nso_header.build_id, load_base, image_size);
|
||||||
load_base + program_image.size());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue