1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

log exceptions to cnc-ddraw.log as well

This commit is contained in:
FunkyFr3sh 2022-09-23 23:59:25 +02:00
parent e35c3cf5df
commit 9551a5c3f0

View File

@ -46,6 +46,11 @@ int dbg_exception_handler(EXCEPTION_POINTERS* exception)
CloseHandle(dmp);
}
dbg_printf(
"Exception at %p (%08X)\n",
exception->ExceptionRecord->ExceptionAddress,
exception->ExceptionRecord->ExceptionCode);
return EXCEPTION_EXECUTE_HANDLER;
}
#endif