Merge pull request #427 from magumagu/interpreter-hle

Interpreter: correctly support HLE functions.
This commit is contained in:
Pierre Bourdon
2014-05-28 11:59:02 +02:00

View File

@ -92,7 +92,7 @@ void Trace( UGeckoInstruction &instCode )
int Interpreter::SingleStepInner(void) int Interpreter::SingleStepInner(void)
{ {
static UGeckoInstruction instCode; 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) if (function != 0)
{ {
int type = HLE::GetFunctionTypeByIndex(function); int type = HLE::GetFunctionTypeByIndex(function);