HostInterface: Reset performance counters on unpausing

This commit is contained in:
Connor McLaughlin 2020-03-03 10:07:16 +10:00
parent b405c01652
commit b59e4ffbcb

View file

@ -120,6 +120,9 @@ void HostInterface::PauseSystem(bool paused)
m_audio_stream->PauseOutput(m_paused); m_audio_stream->PauseOutput(m_paused);
OnSystemPaused(paused); OnSystemPaused(paused);
UpdateSpeedLimiterState(); UpdateSpeedLimiterState();
if (!paused)
m_system->ResetPerformanceCounters();
} }
void HostInterface::ResetSystem() void HostInterface::ResetSystem()