mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00: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.
|
||||
// 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);
|
||||
#else
|
||||
Common::Timer::SleepUntil(s_next_frame_time, false);
|
||||
|
|
Loading…
Reference in a new issue