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:
parent
e35c3cf5df
commit
9551a5c3f0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user