From eb5baa41bb2973e594d57ae33df5b35ec1485655 Mon Sep 17 00:00:00 2001 From: Jonathan Goyvaerts Date: Fri, 19 Apr 2019 13:31:34 +0200 Subject: [PATCH] Shutdown logging when a fatal error occurs, this fixes the error not showing up in the log file --- src/xenia/base/logging.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/base/logging.cc b/src/xenia/base/logging.cc index 72b04a1f8..124fe6f30 100644 --- a/src/xenia/base/logging.cc +++ b/src/xenia/base/logging.cc @@ -325,7 +325,7 @@ void FatalError(const char* fmt, ...) { MB_OK | MB_ICONERROR | MB_APPLMODAL | MB_SETFOREGROUND); } #endif // WIN32 - + ShutdownLogging(); exit(1); }