From 863f84e3f66dde0d199e96dd0e37349ce8346556 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 2 Nov 2020 18:47:17 +1000 Subject: [PATCH] System: Fix frame limiter on fast systems (when frametime <1ms) --- 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 2ab9b981c..0fd16cd74 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -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(sleep_time / 1000000));