Fixed compilation error with minimal configuration.

This commit is contained in:
Volker Ruppert 2024-03-29 20:29:58 +01:00
parent ed20d44090
commit 51a73a00e8

View File

@ -1671,10 +1671,12 @@ bool bx_gui_c::parse_common_gui_options(const char *arg, Bit8u flags)
BX_INFO(("enabled command mode support"));
command_mode.present = 1;
return true;
#if BX_USE_GUI_CONSOLE
} else if (!strcmp(arg, "no_gui_console") && (flags & BX_GUI_OPT_NO_GUI_CONSOLE)) {
BX_INFO(("use system console instead of gui console"));
console.present = 0;
return true;
#endif
}
return false;
}