From 7d34bd8f8248c8ba4d0c5633c5787fd845355f1d Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 4 Apr 2024 00:40:51 +0300 Subject: [PATCH] Ports: Doom don't call exit() on I_Quit() This seems to close the app prematurely :D --- .../0002-Call-exit-on-I_Error-and-I_Quit.patch | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/ports/doom/patches/0002-Call-exit-on-I_Error-and-I_Quit.patch b/ports/doom/patches/0002-Call-exit-on-I_Error-and-I_Quit.patch index 3288c510..c905f641 100644 --- a/ports/doom/patches/0002-Call-exit-on-I_Error-and-I_Quit.patch +++ b/ports/doom/patches/0002-Call-exit-on-I_Error-and-I_Quit.patch @@ -1,7 +1,7 @@ From eafb5f1d01e3edd3035fc405de808b1a2e2151d2 Mon Sep 17 00:00:00 2001 From: Bananymous -Date: Wed, 3 Apr 2024 19:08:08 +0300 -Subject: [PATCH] Call exit() on I_Error() and I_Quit() +Date: Wed, 3 Apr 2024 21:39:22 +0300 +Subject: [PATCH] Call exit() on I_Error() --- doomgeneric/i_system.c | 4 ++++ @@ -20,15 +20,6 @@ index 5d00091..b71aa23 100644 #if ORIGCODE SDL_Quit(); -@@ -454,6 +456,8 @@ void I_Error (char *error, ...) - } - #endif - -+ exit(1); -+ - // abort(); - #if ORIGCODE - SDL_Quit(); -- 2.44.0