From a658883664235b2a29e693629e9dbebfa2478efd 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 3563f5949..71835c2e3 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -896,9 +896,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.