Interpreter: Call UpdatePerformanceMonitor

This commit is contained in:
JosJuice 2020-12-23 16:44:39 +01:00
parent 2dcd0b248f
commit 8c0f32e6be
1 changed files with 5 additions and 1 deletions

View File

@ -219,7 +219,11 @@ int Interpreter::SingleStepInner()
}
UpdatePC();
return PPCTables::GetOpInfo(m_prev_inst)->numCycles;
const GekkoOPInfo* opinfo = PPCTables::GetOpInfo(m_prev_inst);
PowerPC::UpdatePerformanceMonitor(opinfo->numCycles, (opinfo->flags & FL_LOADSTORE) != 0,
(opinfo->flags & FL_USE_FPU) != 0);
return opinfo->numCycles;
}
void Interpreter::SingleStep()