From 6de2d464c4737af23dda3d76c6d24b0b7f90af7f Mon Sep 17 00:00:00 2001 From: RadWolfie Date: Sat, 20 Jun 2020 04:44:25 -0500 Subject: [PATCH] fix disabled code to sync with new change. --- src/core/kernel/support/Emu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/kernel/support/Emu.cpp b/src/core/kernel/support/Emu.cpp index 24034cb19..4ecbbeaa6 100644 --- a/src/core/kernel/support/Emu.cpp +++ b/src/core/kernel/support/Emu.cpp @@ -172,12 +172,12 @@ bool EmuExceptionBreakpointAsk(LPEXCEPTION_POINTERS e) " Press Ignore to continue emulation.", EIPToString(e->ContextRecord->Eip).c_str()); - int ret = CxbxMessageBox(buffer, MB_ICONSTOP | MB_ABORTRETRYIGNORE, g_hEmuWindow); - if (ret == IDABORT) + PopupReturn ret = PopupWarningEx(g_hEmuWindow, PopupButtons::AbortRetryIgnore, PopupReturn::Ignore, buffer); + if (ret == PopupReturn::Abort) { EmuExceptionExitProcess(); } - else if (ret == IDIGNORE) + else if (ret == PopupReturn::Ignore) { printf("[0x%.4X] MAIN: Ignored Breakpoint Exception\n", GetCurrentThreadId()); fflush(stdout);