mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-12 06:12:49 +00: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);
|
const FileSys::VirtualFile module_file = dir->GetFile(module);
|
||||||
if (module_file != nullptr) {
|
if (module_file != nullptr) {
|
||||||
const VAddr load_addr = next_load_addr;
|
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);
|
LOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", module, load_addr);
|
||||||
// Register module with GDBStub
|
// Register module with GDBStub
|
||||||
GDBStub::RegisterModule(module, load_addr, next_load_addr - 1, false);
|
GDBStub::RegisterModule(module, load_addr, next_load_addr - 1, false);
|
||||||
|
|
Loading…
Reference in a new issue