From 1924cd457ec528de0778a2c306e301b2375a9ccb Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Sat, 30 Mar 2024 08:05:53 +0100 Subject: [PATCH] Gui options parser: Don't panic after showing error message box. --- bochs/gui/gui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/gui/gui.cc b/bochs/gui/gui.cc index 4f1eff1b3..0284ef529 100644 --- a/bochs/gui/gui.cc +++ b/bochs/gui/gui.cc @@ -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"));