mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 03:24:19 +01:00
deconstructed_rom_directory: Force NSO loader to patch NSOs
This commit is contained in:
parent
003b44822a
commit
6d441828e6
@ -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 New Issue
Block a user