diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-05 13:51:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 13:51:53 +0100 |
commit | 167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17 (patch) | |
tree | fc6b22a09499d5dbf6e1954fb4e1d7e176b5c6ad | |
parent | Merge pull request #12283 from t895/language-troubles (diff) | |
parent | nce: fix pre-text patch for single modules (diff) | |
download | yuzu-167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17.tar yuzu-167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17.tar.gz yuzu-167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17.tar.bz2 yuzu-167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17.tar.lz yuzu-167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17.tar.xz yuzu-167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17.tar.zst yuzu-167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17.zip |
-rw-r--r-- | src/core/arm/nce/patcher.cpp | 2 |
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); |