Interpreter: correctly support HLE functions.
m_EndBlock is always false at the beginning of SingleStepInner in the normal interpreter loop.
This commit is contained in:
parent
010ca048df
commit
98dd99a696
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue