From 84adac84341475dcd4a060ee44ea1ce58af72774 Mon Sep 17 00:00:00 2001 From: Shpoike Date: Sun, 25 Feb 2024 05:31:51 +0000 Subject: [PATCH] Add 'sys_throttle -1' to disable throttling when paused, too. Probably noone else will care but w/e. --- Quake/main_sdl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Quake/main_sdl.c b/Quake/main_sdl.c index 60b126a5..9101a544 100644 --- a/Quake/main_sdl.c +++ b/Quake/main_sdl.c @@ -136,7 +136,8 @@ int main(int argc, char *argv[]) /* If we have no input focus at all, sleep a bit */ if (!VID_HasMouseOrInputFocus() || cl.paused) { - SDL_Delay(16); + if (sys_throttle.value >= 0) + SDL_Delay(16); } /* If we're minimised, sleep a bit more */ if (VID_IsMinimized())