Rollback of show_warning add, sorry did not know about policy of this issue.

This commit is contained in:
Miodrag Milanovic 2010-02-10 10:40:58 +00:00
parent 96413ff354
commit 51f4cf5be9
3 changed files with 0 additions and 6 deletions

View File

@ -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 }
};

View File

@ -150,7 +150,6 @@
#define OPTION_BIOS "bios"
#define OPTION_CHEAT "cheat"
#define OPTION_SKIP_GAMEINFO "skip_gameinfo"
#define OPTION_SKIP_WARNINGS "skip_warnings"

View File

@ -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)