file_sys: Move IPS patching code into separate source file
In anticipation of a new BPS patcher.
This commit is contained in:
parent
020cd56ad8
commit
1377be9902
6 changed files with 78 additions and 52 deletions
|
@ -101,7 +101,7 @@ ResultStatus AppLoader_NCCH::LoadExec(std::shared_ptr<Kernel::Process>& process)
|
|||
bss_page_size;
|
||||
|
||||
// Apply any IPS patch now that the entire codeset (including .bss) has been allocated
|
||||
overlay_ncch->ApplyIPSPatch(code);
|
||||
overlay_ncch->ApplyCodePatch(code);
|
||||
|
||||
codeset->entrypoint = codeset->CodeSegment().addr;
|
||||
codeset->memory = std::move(code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue