Also print exception code and address
This commit is contained in:
parent
a95636afcd
commit
2d10c1ffe2
|
@ -196,10 +196,11 @@ void EmuExceptionNonBreakpointUnhandledShow(LPEXCEPTION_POINTERS e)
|
|||
std::fflush(stdout);
|
||||
|
||||
if (PopupFatalEx(nullptr, PopupButtons::OkCancel, PopupReturn::Ok,
|
||||
" The running xbe has encountered an unrecoverable error.\n"
|
||||
" The running xbe has encountered an unhandled exception (Code := 0x%.8X) at address 0x%.08X.\n"
|
||||
"\n"
|
||||
" Press \"OK\" to terminate emulation.\n"
|
||||
" Press \"Cancel\" to debug.") == PopupReturn::Ok)
|
||||
" Press \"Cancel\" to debug.",
|
||||
e->ExceptionRecord->ExceptionCode, e->ContextRecord->Eip) == PopupReturn::Ok)
|
||||
{
|
||||
EmuExceptionExitProcess();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue