Core: Skip stats reset while stepping.

This way, you can use it to actually see the stats.
This commit is contained in:
Unknown W. Brackets
2022-01-30 11:53:48 -08:00
parent 129a603832
commit f24e255268
+4 -2
View File
@@ -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) {