From 51f4cf5be97eed95809abb62787d18406e31775e Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 10 Feb 2010 10:40:58 +0000 Subject: [PATCH] Rollback of show_warning add, sorry did not know about policy of this issue. --- src/emu/emuopts.c | 1 - src/emu/emuopts.h | 1 - src/emu/ui.c | 4 ---- 3 files changed, 6 deletions(-) diff --git a/src/emu/emuopts.c b/src/emu/emuopts.c index 24056d52369..f7125a24785 100644 --- a/src/emu/emuopts.c +++ b/src/emu/emuopts.c @@ -154,7 +154,6 @@ const options_entry mame_core_options[] = { "bios", NULL, 0, "select the system BIOS to use" }, { "cheat;c", "0", OPTION_BOOLEAN, "enable cheat subsystem" }, { "skip_gameinfo", "0", OPTION_BOOLEAN, "skip displaying the information screen at startup" }, - { "skip_warnings", "0", OPTION_BOOLEAN, "skip displaying the warnings screen" }, { NULL } }; diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h index 3af8eb03a6d..359edabf5b2 100644 --- a/src/emu/emuopts.h +++ b/src/emu/emuopts.h @@ -150,7 +150,6 @@ #define OPTION_BIOS "bios" #define OPTION_CHEAT "cheat" #define OPTION_SKIP_GAMEINFO "skip_gameinfo" -#define OPTION_SKIP_WARNINGS "skip_warnings" diff --git a/src/emu/ui.c b/src/emu/ui.c index d4920205dd2..3fd8581f5fb 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -237,10 +237,6 @@ int ui_display_startup_screens(running_machine *machine, int first_time, int sho int show_warnings = TRUE; int state; - show_warnings = !options_get_bool(mame_options(), OPTION_SKIP_WARNINGS); - if (!show_warnings) - show_disclaimer = FALSE; - /* 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 == &GAME_NAME(empty) || (machine->debug_flags & DEBUG_FLAG_ENABLED) != 0)