mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-17 11:25:39 +00:00
System: Skip throttler phase reset when running at <100%
This commit is contained in:
parent
04a187afb2
commit
4e87b30b40
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue