yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #12271 from liamwhite/pretext-fix

nce: fix pre-text patch for single modules
This commit is contained in:
liamwhite 2023-12-05 07:51:53 -05:00 committed by GitHub
commit 167efb2d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ Patcher::~Patcher() = default;
void Patcher::PatchText(const Kernel::PhysicalMemory& program_image,
const Kernel::CodeSet::Segment& code) {
// Branch to the first instruction of the module.
this->BranchToModule(0);
// Write save context helper function.
c.l(m_save_context);