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
commit 5abd518eb9

View file

@ -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);