log exceptions to cnc-ddraw.log as well
This commit is contained in:
parent
e35c3cf5df
commit
9551a5c3f0
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ int dbg_exception_handler(EXCEPTION_POINTERS* exception)
|
||||||
CloseHandle(dmp);
|
CloseHandle(dmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dbg_printf(
|
||||||
|
"Exception at %p (%08X)\n",
|
||||||
|
exception->ExceptionRecord->ExceptionAddress,
|
||||||
|
exception->ExceptionRecord->ExceptionCode);
|
||||||
|
|
||||||
return EXCEPTION_EXECUTE_HANDLER;
|
return EXCEPTION_EXECUTE_HANDLER;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue