mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 19:15:45 -04:00
System: Fix frame limiter on fast systems (when frametime <1ms)
This commit is contained in:
@ -1208,7 +1208,7 @@ void Throttle()
|
||||
s_last_throttle_time = 0;
|
||||
s_throttle_timer.Reset();
|
||||
}
|
||||
else if (sleep_time >= MINIMUM_SLEEP_TIME && sleep_time <= s_throttle_period)
|
||||
else if (sleep_time >= MINIMUM_SLEEP_TIME)
|
||||
{
|
||||
#ifdef WIN32
|
||||
Sleep(static_cast<u32>(sleep_time / 1000000));
|
||||
|
Reference in New Issue
Block a user