summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2010-02-10 10:25:00 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2010-02-10 10:25:00 +0000
commit96413ff354e525e77d8c46bb2c365015eba1351d (patch)
treee1d13e84ddf4c1f11874d9a60890fbf2e0691082 /src/emu/ui.c
parent493eaf7b78cc556aab27e8e6c3291c2de23f3c6c (diff)
- Added skip_warnings option
- Removed MESS dependent checks
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r--src/emu/ui.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c
index ddf9bd00e6f..d4920205dd2 100644
--- a/src/emu/ui.c
+++ b/src/emu/ui.c
@@ -231,21 +231,15 @@ static void ui_exit(running_machine *machine)
int ui_display_startup_screens(running_machine *machine, int first_time, int show_disclaimer)
{
-#ifdef MESS
- const int maxstate = 4;
-#else
const int maxstate = 3;
-#endif
int str = options_get_int(mame_options(), OPTION_SECONDS_TO_RUN);
int show_gameinfo = !options_get_bool(mame_options(), OPTION_SKIP_GAMEINFO);
int show_warnings = TRUE;
int state;
-#ifdef MESS
show_warnings = !options_get_bool(mame_options(), OPTION_SKIP_WARNINGS);
if (!show_warnings)
show_disclaimer = FALSE;
-#endif /* MESS */
/* disable everything if we are using -str for 300 or fewer seconds, or if we're the empty driver,
or if we are debugging */
@@ -285,10 +279,6 @@ int ui_display_startup_screens(running_machine *machine, int first_time, int sho
if (show_gameinfo && game_info_astring(machine, messagebox_text).len() > 0)
ui_set_handler(handler_messagebox_anykey, 0);
break;
-#ifdef MESS
- case 3:
- break;
-#endif
}
/* clear the input memory */