From eaa19b2308a72ad4f85048413b5da46f89114da5 Mon Sep 17 00:00:00 2001 From: Timothy Hobbs Date: Sun, 8 Sep 2024 19:36:50 +0200 Subject: [PATCH] fix: now skip delay completely if 0 --- remc2/sub_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/remc2/sub_main.cpp b/remc2/sub_main.cpp index 39960bdc2..726d83bac 100644 --- a/remc2/sub_main.cpp +++ b/remc2/sub_main.cpp @@ -81164,7 +81164,8 @@ int16_t sub_90B27_VGA_pal_fadein_fadeout(TColor* newpalbufferx, uint8_t shadow_l void fix_sub_9A0FC_wait_to_screen_beam(int32_t delay)//27B0fc { VGA_Blit(nullptr); - mydelay(delay); + if (delay > 0) + mydelay(delay); } //----- (00090B27) --------------------------------------------------------