From daaa4427eaaa49828e7d6cd8757cf3b45074dc7f Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 31 Jan 2023 14:48:01 -0500 Subject: [PATCH] NX: Restore error.log dumping... --- source/sys_sdl_nx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/sys_sdl_nx.c b/source/sys_sdl_nx.c index 79c8da2..3c4cfda 100644 --- a/source/sys_sdl_nx.c +++ b/source/sys_sdl_nx.c @@ -209,12 +209,12 @@ void Sys_Error (const char *error, ...) q_vsnprintf (text, sizeof(text), error, argptr); va_end (argptr); - /*f = fopen ("/switch/nzportable/error.log", "w"); + f = fopen ("/switch/nzportable/error.log", "w"); if (f) { fprintf (f, "Error: %s\n", text); fclose (f); - }*/ + } fputs (errortxt1, stderr); Host_Shutdown ();