NX: Restore error.log dumping...

This commit is contained in:
Ian 2023-01-31 14:48:01 -05:00 committed by GitHub
parent e0896c1e63
commit daaa4427ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ();