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

improve crash logs

This commit is contained in:
FunkyFr3sh 2023-03-07 21:30:28 +01:00
parent c7358ea488
commit dede1815fa

View File

@ -60,8 +60,10 @@ int dbg_exception_handler(EXCEPTION_POINTERS* exception)
}
TRACE(
"Exception at %p (%08X) %s\n",
"Exception at %p (%p+%p), Code=%08X - %s\n",
exception->ExceptionRecord->ExceptionAddress,
mod,
(int)exception->ExceptionRecord->ExceptionAddress - (int)mod,
exception->ExceptionRecord->ExceptionCode,
filename);
}