mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
deconstructed_rom_directory: Force NSO loader to patch NSOs
This commit is contained in:
parent
003b44822a
commit
6d441828e6
1 changed files with 3 additions and 1 deletions
|
@ -139,7 +139,9 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load(Kernel::Process& process)
|
|||
const FileSys::VirtualFile module_file = dir->GetFile(module);
|
||||
if (module_file != nullptr) {
|
||||
const VAddr load_addr = next_load_addr;
|
||||
next_load_addr = AppLoader_NSO::LoadModule(module_file, load_addr);
|
||||
next_load_addr = AppLoader_NSO::LoadModule(
|
||||
module_file, load_addr,
|
||||
std::make_shared<FileSys::PatchManager>(metadata.GetTitleID()));
|
||||
LOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", module, load_addr);
|
||||
// Register module with GDBStub
|
||||
GDBStub::RegisterModule(module, load_addr, next_load_addr - 1, false);
|
||||
|
|
Loading…
Reference in a new issue