From c5b0dc98c2be50013aa756f3efd1b5890a607650 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 1 Mar 2016 07:42:57 +0100 Subject: [PATCH] JitArm64: Fix LWZ idle skipping. --- Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp index b9f130394a..235a446501 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp @@ -467,15 +467,13 @@ void JitArm64::lXX(UGeckoInstruction inst) MOVI2R(XA, (u64)&CoreTiming::Idle); BLR(XA); - gpr.Unlock(WA); - WriteExceptionExit(); + MOVI2R(WA, js.compilerPC); + + WriteExceptionExit(WA); SwitchToNearCode(); SetJumpTarget(noIdle); - - //js.compilerPC += 8; - return; } }