[HLE] Interpreter: Fixes invalid logs

This commit is contained in:
Sepalani 2016-11-23 00:12:12 +00:00
parent 4f9e5e1141
commit e0e93fc3a6
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ static void Trace(UGeckoInstruction& inst)
int Interpreter::SingleStepInner() int Interpreter::SingleStepInner()
{ {
static UGeckoInstruction instCode; static UGeckoInstruction instCode;
u32 function = HLE::GetFunctionIndex(PC); u32 function = HLE::GetFirstFunctionIndex(PC);
if (function != 0) if (function != 0)
{ {
int type = HLE::GetFunctionTypeByIndex(function); int type = HLE::GetFunctionTypeByIndex(function);