From d36f0fff4cbac6bd25c0032cc296235435fc0560 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Sat, 19 Aug 2023 17:00:01 +0200 Subject: [PATCH] Jit64: Actually update membase register after GlobalAdvance(). --- Source/Core/Core/PowerPC/Jit64/JitAsm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);