mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 19:35:42 -04:00
System: Fix inverted ifdef
This commit is contained in:
parent
157a2b7183
commit
2c2304b5b7
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user