mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
HostInterface: Reset performance counters on unpausing
This commit is contained in:
parent
b405c01652
commit
b59e4ffbcb
|
@ -120,6 +120,9 @@ void HostInterface::PauseSystem(bool paused)
|
|||
m_audio_stream->PauseOutput(m_paused);
|
||||
OnSystemPaused(paused);
|
||||
UpdateSpeedLimiterState();
|
||||
|
||||
if (!paused)
|
||||
m_system->ResetPerformanceCounters();
|
||||
}
|
||||
|
||||
void HostInterface::ResetSystem()
|
||||
|
|
Loading…
Reference in a new issue