summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-02 22:14:01 +0100
committerLiam <byteslice@airmail.cc>2023-12-02 22:14:52 +0100
commit9de99839bddfa630088c3766222a19f3674616a4 (patch)
treea73b0deb2ab60e9051aba90cccc065908fca8e2b /src/core
parentMerge pull request #12261 from liamwhite/fruit-company (diff)
downloadyuzu-9de99839bddfa630088c3766222a19f3674616a4.tar
yuzu-9de99839bddfa630088c3766222a19f3674616a4.tar.gz
yuzu-9de99839bddfa630088c3766222a19f3674616a4.tar.bz2
yuzu-9de99839bddfa630088c3766222a19f3674616a4.tar.lz
yuzu-9de99839bddfa630088c3766222a19f3674616a4.tar.xz
yuzu-9de99839bddfa630088c3766222a19f3674616a4.tar.zst
yuzu-9de99839bddfa630088c3766222a19f3674616a4.zip
Diffstat (limited to '')
-rw-r--r--src/core/arm/nce/patcher.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/arm/nce/patcher.cpp b/src/core/arm/nce/patcher.cpp
index ec8527224..bdaa3af49 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);