From 17968cda95741422e25ddb2d3f11771f80d7db30 Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 24 Jul 2025 20:39:50 +0200 Subject: [PATCH] fix console taking minutes to open during frameskipping prob not the best way to handle this, but its the simplest the console should always be openable without issues unless during wipes, since in some cases you end up having to kill the game to do anything --- src/d_main.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index 38cb88045..7564f3cee 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -958,9 +958,25 @@ void D_SRB2Loop(void) rendertimefrac_unpaused = FRACUNIT; } - if ((interp || doDisplay) && !frameskip) + + if (interp || doDisplay) { - ranwipe = D_Display(); + if (!frameskip) + { + ranwipe = D_Display(); + } + else if (frameskip) + { + // always update console and hud + // otherwise it may take minutes to open it + CON_Drawer(); + + if (gamestate == GS_LEVEL) + { + ST_Drawer(); + HU_Drawer(); + } + } } // Only take screenshots after drawing.