summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author etabeta78 <etabeta78@users.noreply.github.com>2015-01-19 06:36:15 +0100
committer etabeta78 <etabeta78@users.noreply.github.com>2015-01-19 06:36:15 +0100
commit76edf0d3e6500b2936a18c7d27ee0a81271d2b1b (patch)
tree61647e02a8b7af11125feefad5f74e48b354cc6f
parent87ff27315627255629e232a45312ae8be6504846 (diff)
ui: allow -str run to skip the file manager for systems with mandatory carts. nw.
-rw-r--r--src/emu/ui/ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/ui/ui.c b/src/emu/ui/ui.c
index 125c66859fa..acb29f49aed 100644
--- a/src/emu/ui/ui.c
+++ b/src/emu/ui/ui.c
@@ -310,13 +310,13 @@ void ui_manager::display_startup_screens(bool first_time, bool show_disclaimer)
const int maxstate = 4;
int str = machine().options().seconds_to_run();
bool show_gameinfo = !machine().options().skip_gameinfo();
- bool show_warnings = true;
+ bool show_warnings = true, show_mandatory_fileman = true;
int state;
// 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().system() == &GAME_NAME(___empty) || (machine().debug_flags & DEBUG_FLAG_ENABLED) != 0)
- show_gameinfo = show_warnings = show_disclaimer = FALSE;
+ show_gameinfo = show_warnings = show_disclaimer = show_mandatory_fileman = FALSE;
#ifdef SDLMAME_EMSCRIPTEN
// also disable for the JavaScript port since the startup screens do not run asynchronously
@@ -355,7 +355,7 @@ void ui_manager::display_startup_screens(bool first_time, bool show_disclaimer)
break;
case 3:
- if (image_mandatory_scan(machine(), messagebox_text).len() > 0)
+ if (show_mandatory_fileman && image_mandatory_scan(machine(), messagebox_text).len() > 0)
{
astring warning;
warning.cpy("This driver requires images to be loaded in the following device(s): ").cat(messagebox_text.substr(0, messagebox_text.len() - 2));