mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
nce: fix pre-text patch for single modules
This commit is contained in:
parent
69529a748c
commit
9de99839bd
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue