From 068b5c26f4c328eaa0e37ea5615ff458ede0a3df Mon Sep 17 00:00:00 2001 From: Fiora Date: Wed, 3 Sep 2014 14:36:38 -0700 Subject: [PATCH] JIT: fix regression in timer patch --- Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp index af2fe33bb8..040a80d465 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp @@ -192,6 +192,8 @@ void Jit64::mfspr(UGeckoInstruction inst) js.downcountAmount++; js.skipnext = true; gpr.Lock(d, n); + gpr.BindToRegister(d, false); + gpr.BindToRegister(n, false); if (iIndex == SPR_TL) MOV(32, gpr.R(d), R(EAX)); if (nextIndex == SPR_TL) @@ -205,6 +207,7 @@ void Jit64::mfspr(UGeckoInstruction inst) else { gpr.Lock(d); + gpr.BindToRegister(d, false); if (iIndex == SPR_TU) SHR(64, R(RAX), Imm8(32)); MOV(32, gpr.R(d), R(EAX));