Gui options parser: Don't panic after showing error message box.

This commit is contained in:
Volker Ruppert 2024-03-30 08:05:53 +01:00
parent 51a73a00e8
commit 1924cd457e

View File

@ -1657,10 +1657,10 @@ bool bx_gui_c::parse_common_gui_options(const char *arg, Bit8u flags)
} else if (strlen(arg) > 9) {
return false;
}
return true;
#else
SIM->message_box("ERROR", "Bochs debugger not available - ignoring 'gui_debug' option");
#endif
return true;
#if BX_SHOW_IPS
} else if (!strcmp(arg, "hideIPS") && (flags & BX_GUI_OPT_HIDE_IPS)) {
BX_INFO(("hide IPS display in status bar"));