From 8c0f32e6be3a276befccfd0ae035c7f04d3c3028 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 23 Dec 2020 16:44:39 +0100 Subject: [PATCH] Interpreter: Call UpdatePerformanceMonitor --- Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp index 6702fb798c..8835945416 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp @@ -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()