From f8f3548ca99b8e35a6d6c10533f8fb0c3df2ef8f Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 23 Dec 2020 16:06:52 +0100 Subject: [PATCH] CoreTiming: Call UpdatePerformanceMonitor on idle --- Source/Core/Core/CoreTiming.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/CoreTiming.cpp b/Source/Core/Core/CoreTiming.cpp index 0a03329096..d3e766450f 100644 --- a/Source/Core/Core/CoreTiming.cpp +++ b/Source/Core/Core/CoreTiming.cpp @@ -380,6 +380,7 @@ void Idle() Fifo::FlushGpu(); } + PowerPC::UpdatePerformanceMonitor(PowerPC::ppcState.downcount, 0, 0); s_idled_cycles += DowncountToCycles(PowerPC::ppcState.downcount); PowerPC::ppcState.downcount = 0; }