diff --git a/src/core/kernel/support/Emu.cpp b/src/core/kernel/support/Emu.cpp index 2d181f8aa..2be02bac8 100644 --- a/src/core/kernel/support/Emu.cpp +++ b/src/core/kernel/support/Emu.cpp @@ -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(); }