VERY experimental Nintendo Switch 2 emulator
C++
nce: fix pre-text patch for single modules
Liam79d497c022b1
diff --git a/src/core/arm/nce/patcher.cpp b/src/core/arm/nce/patcher.cppindex ec8527224a..bdaa3af49f 100644--- a/src/core/arm/nce/patcher.cpp+++ b/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);