System: Skip throttler phase reset when running at <100%

This commit is contained in:
Connor McLaughlin 2021-01-01 14:08:09 +10:00
parent 04a187afb2
commit 4e87b30b40

View file

@ -1261,7 +1261,7 @@ void ResetThrottler()
void Throttle()
{
// Reset the throttler on audio buffer overflow, so we don't end up out of phase.
if (g_host_interface->GetAudioStream()->DidUnderflow())
if (g_host_interface->GetAudioStream()->DidUnderflow() && s_target_speed >= 1.0f)
{
Log_DevPrintf("Audio buffer underflowed, resetting throttler");
ResetThrottler();