mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 22:05: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);
|
m_audio_stream->PauseOutput(m_paused);
|
||||||
OnSystemPaused(paused);
|
OnSystemPaused(paused);
|
||||||
UpdateSpeedLimiterState();
|
UpdateSpeedLimiterState();
|
||||||
|
|
||||||
|
if (!paused)
|
||||||
|
m_system->ResetPerformanceCounters();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HostInterface::ResetSystem()
|
void HostInterface::ResetSystem()
|
||||||
|
|
Loading…
Reference in a new issue