System: Don't reset performance counters when turboing

This commit is contained in:
Connor McLaughlin
2021-06-19 15:53:11 +10:00
parent bda573a540
commit e7b113f454
2 changed files with 8 additions and 1 deletions

View File

@ -845,7 +845,7 @@ void CommonHostInterface::UpdateSpeedLimiterState()
if (System::IsValid())
{
System::SetTargetSpeed(target_speed);
System::ResetPerformanceCounters();
System::ResetThrottler();
}
if (m_audio_stream)
@ -1994,6 +1994,7 @@ void CommonHostInterface::RegisterGeneralHotkeys()
if (!ConfirmMessage(confirmation_message))
{
System::ResetPerformanceCounters();
System::ResetThrottler();
return;
}
}