fix disabled code to sync with new change.

This commit is contained in:
RadWolfie 2020-06-20 04:44:25 -05:00
parent 222f266cd1
commit 6de2d464c4
1 changed files with 3 additions and 3 deletions

View File

@ -172,12 +172,12 @@ bool EmuExceptionBreakpointAsk(LPEXCEPTION_POINTERS e)
" Press Ignore to continue emulation.", " Press Ignore to continue emulation.",
EIPToString(e->ContextRecord->Eip).c_str()); EIPToString(e->ContextRecord->Eip).c_str());
int ret = CxbxMessageBox(buffer, MB_ICONSTOP | MB_ABORTRETRYIGNORE, g_hEmuWindow); PopupReturn ret = PopupWarningEx(g_hEmuWindow, PopupButtons::AbortRetryIgnore, PopupReturn::Ignore, buffer);
if (ret == IDABORT) if (ret == PopupReturn::Abort)
{ {
EmuExceptionExitProcess(); EmuExceptionExitProcess();
} }
else if (ret == IDIGNORE) else if (ret == PopupReturn::Ignore)
{ {
printf("[0x%.4X] MAIN: Ignored Breakpoint Exception\n", GetCurrentThreadId()); printf("[0x%.4X] MAIN: Ignored Breakpoint Exception\n", GetCurrentThreadId());
fflush(stdout); fflush(stdout);