mirror of
https://github.com/holub/mame
synced 2025-05-05 13:54:42 +03:00
Rollback of show_warning add, sorry did not know about policy of this issue.
This commit is contained in:
parent
96413ff354
commit
51f4cf5be9
@ -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 }
|
||||
};
|
||||
|
@ -150,7 +150,6 @@
|
||||
#define OPTION_BIOS "bios"
|
||||
#define OPTION_CHEAT "cheat"
|
||||
#define OPTION_SKIP_GAMEINFO "skip_gameinfo"
|
||||
#define OPTION_SKIP_WARNINGS "skip_warnings"
|
||||
|
||||
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user