Don't show disclaimers/warnings if the debugger is enabled.

This commit is contained in:
Aaron Giles 2008-06-09 16:49:52 +00:00
parent 8ba5758341
commit e9c099ef71

View File

@ -315,8 +315,9 @@ int ui_display_startup_screens(running_machine *machine, int first_time, int sho
int show_warnings = TRUE;
int state;
/* disable everything if we are using -str */
if (!first_time || (str > 0 && str < 60*5) || machine->gamedrv == &driver_empty)
/* disable everything if we are using -str for 300 or fewer seconds, or if we're the empty driver,
or if we are debugging */
if (!first_time || (str > 0 && str < 60*5) || machine->gamedrv == &driver_empty || machine->debug_mode)
show_gameinfo = show_warnings = show_disclaimer = FALSE;
/* initialize the on-screen display system */