summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/ui.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2020-07-10 00:43:33 +0200
committer hap <happppp@users.noreply.github.com>2020-07-10 00:43:33 +0200
commit74f456df945cd1720dc4d6bc105f64c13e62ced8 (patch)
tree95b9059fd00795f7a6e1d6a36fef2612e1353c46 /src/frontend/mame/ui/ui.cpp
parent4ee2f625bb1c3b52fce4be9a259200d4eb6a8d93 (diff)
ui: allow to skip warning popup at start
Diffstat (limited to 'src/frontend/mame/ui/ui.cpp')
-rw-r--r--src/frontend/mame/ui/ui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/ui.cpp b/src/frontend/mame/ui/ui.cpp
index e1b0990193b..9ea166a5c90 100644
--- a/src/frontend/mame/ui/ui.cpp
+++ b/src/frontend/mame/ui/ui.cpp
@@ -305,7 +305,8 @@ void mame_ui_manager::display_startup_screens(bool first_time)
const int maxstate = 3;
int str = machine().options().seconds_to_run();
bool show_gameinfo = !machine().options().skip_gameinfo();
- bool show_warnings = true, show_mandatory_fileman = true;
+ bool show_warnings = !machine().options().skip_warnings();
+ bool show_mandatory_fileman = true;
bool video_none = strcmp(downcast<osd_options &>(machine().options()).video(), OSDOPTVAL_NONE) == 0;
// disable everything if we are using -str for 300 or fewer seconds, or if we're the empty driver,