diff options
author | 2008-06-09 16:49:52 +0000 | |
---|---|---|
committer | 2008-06-09 16:49:52 +0000 | |
commit | e9c099ef71ecc04a80afcb5ed1189d1ac2e4ec1f (patch) | |
tree | 77a8638b773dbeb989940b447747c6183413d381 /src/emu/ui.c | |
parent | 8ba575834135187c6e671989366bd4d0ec7b5a89 (diff) |
Don't show disclaimers/warnings if the debugger is enabled.
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r-- | src/emu/ui.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c index c915b6dfdd6..bbe7361a52b 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -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 */ |