Browse Source

Merge pull request #12271 from liamwhite/pretext-fix

nce: fix pre-text patch for single modules
nce_cpp
liamwhite 2 years ago
committed by GitHub
parent
commit
b14de726cf
  1. 2
      src/core/arm/nce/patcher.cpp

2
src/core/arm/nce/patcher.cpp

@ -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…
Cancel
Save