mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-12 07:45:46 -04:00
System: Fix inverted ifdef
This commit is contained in:
@ -2202,7 +2202,7 @@ void System::Throttle()
|
|||||||
|
|
||||||
// Use a spinwait if we undersleep for all platforms except android.. don't want to burn battery.
|
// Use a spinwait if we undersleep for all platforms except android.. don't want to burn battery.
|
||||||
// Linux also seems to do a much better job of waking up at the requested time.
|
// Linux also seems to do a much better job of waking up at the requested time.
|
||||||
#if defined(__linux__) || defined(__ANDROID__)
|
#if !defined(__linux__) && !defined(__ANDROID__)
|
||||||
Common::Timer::SleepUntil(s_next_frame_time, g_settings.display_all_frames);
|
Common::Timer::SleepUntil(s_next_frame_time, g_settings.display_all_frames);
|
||||||
#else
|
#else
|
||||||
Common::Timer::SleepUntil(s_next_frame_time, false);
|
Common::Timer::SleepUntil(s_next_frame_time, false);
|
||||||
|
Reference in New Issue
Block a user