summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-08-19 17:00:01 +0200
committerAdmiral H. Curtiss <pikachu025@gmail.com>2023-08-19 17:00:01 +0200
commitd36f0fff4cbac6bd25c0032cc296235435fc0560 (patch)
tree0c251b604c39d4d53b8dd407c2183f210c9698bb /Source/Core
parented7894924c79be09863ade3aa4622423dd434691 (diff)
Jit64: Actually update membase register after GlobalAdvance().
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/Jit64/JitAsm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp b/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp
index 6237b1b787..844764d1d5 100644
--- a/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp
+++ b/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp
@@ -68,7 +68,7 @@ void Jit64AsmRoutineManager::Generate()
// When we've just entered the jit we need to update the membase
// GlobalAdvance also checks exceptions after which we need to
// update the membase so it makes sense to do this here.
- m_jit.EmitUpdateMembase();
+ MOV(64, R(RMEM), PPCSTATE(mem_ptr));
// skip the sync and compare first time
FixupBranch skipToRealDispatch = J(enable_debugging ? Jump::Near : Jump::Short);