mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
Don't show disclaimers/warnings if the debugger is enabled.
This commit is contained in:
parent
8ba5758341
commit
e9c099ef71
@ -315,8 +315,9 @@ int ui_display_startup_screens(running_machine *machine, int first_time, int sho
|
|||||||
int show_warnings = TRUE;
|
int show_warnings = TRUE;
|
||||||
int state;
|
int state;
|
||||||
|
|
||||||
/* disable everything if we are using -str */
|
/* disable everything if we are using -str for 300 or fewer seconds, or if we're the empty driver,
|
||||||
if (!first_time || (str > 0 && str < 60*5) || machine->gamedrv == &driver_empty)
|
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;
|
show_gameinfo = show_warnings = show_disclaimer = FALSE;
|
||||||
|
|
||||||
/* initialize the on-screen display system */
|
/* initialize the on-screen display system */
|
||||||
|
Loading…
Reference in New Issue
Block a user