From 98dd99a6960651dbcd76519bea51aa21de7503d8 Mon Sep 17 00:00:00 2001 From: magumagu Date: Sun, 25 May 2014 15:39:46 -0700 Subject: [PATCH] Interpreter: correctly support HLE functions. m_EndBlock is always false at the beginning of SingleStepInner in the normal interpreter loop. --- Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp index 5306533887..87384b5b0c 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp @@ -92,7 +92,7 @@ void Trace( UGeckoInstruction &instCode ) int Interpreter::SingleStepInner(void) { static UGeckoInstruction instCode; - u32 function = m_EndBlock ? HLE::GetFunctionIndex(PC) : 0; // Check for HLE functions after branches + u32 function = HLE::GetFunctionIndex(PC); if (function != 0) { int type = HLE::GetFunctionTypeByIndex(function);