From 720bfa277bbd123a4f547466e5b4f6537f3da517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= Date: Tue, 5 May 2020 21:05:56 +0200 Subject: [PATCH] Update win.c --- src/win/win.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/win/win.c b/src/win/win.c index e8d2af475..9bdb91a56 100644 --- a/src/win/win.c +++ b/src/win/win.c @@ -362,10 +362,6 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpszArg, int nCmdShow) /* Set the application version ID string. */ sprintf(emu_version, "%s v%s", EMU_NAME, EMU_VERSION); - /* Enable crash dump services. */ - if (enable_crashdump) - InitCrashDump(); - /* First, set our (default) language. */ set_language(0x0409); @@ -389,6 +385,10 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpszArg, int nCmdShow) free(argw); return(1); } + + /* Enable crash dump services. */ + if (enable_crashdump) + InitCrashDump(); if (force_debug) atexit(CloseConsole);