From f24e255268d48c5cbfc022bac7e1ec080d2b565b Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 30 Jan 2022 10:47:10 -0800 Subject: [PATCH] Core: Skip stats reset while stepping. This way, you can use it to actually see the stats. --- Core/System.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/System.cpp b/Core/System.cpp index e3c4a65db4..31f720be2e 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -391,8 +391,10 @@ void Core_UpdateDebugStats(bool collectStats) { mipsr4k.ClearJitCache(); } - kernelStats.ResetFrame(); - gpuStats.ResetFrame(); + if (!PSP_CoreParameter().frozen && !Core_IsStepping()) { + kernelStats.ResetFrame(); + gpuStats.ResetFrame(); + } } void Core_ForceDebugStats(bool enable) {