From 2c2304b5b793b1d9f087c79974fe0a19bfc8b777 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 12 Jan 2023 18:12:58 +1000 Subject: [PATCH] System: Fix inverted ifdef --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 02f7ec198..dcf4703e1 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -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);