From 4e87b30b40d68dd5d8ae88a860514ffbbdfc9a59 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 1 Jan 2021 14:08:09 +1000 Subject: [PATCH] System: Skip throttler phase reset when running at <100% --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 21b0d31c9..a699d5364 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -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();