diff options
author | 2010-01-19 13:00:22 +0000 | |
---|---|---|
committer | 2010-01-19 13:00:22 +0000 | |
commit | 04875f17b77f02ba4cfd8da073870c1de8cbf500 (patch) | |
tree | 13069e5ab725829a4684ed08fd01f5c7b6fb97a6 /src/emu/ui.c | |
parent | e635ab33e33509a9a3857ce4f0688054743c467c (diff) |
- Added MESS dependent code missing in emu.h
- Fixed compiling CPU core of V30MZ (only used by MESS)
- Fixed MESS dependent code of wave.c
- Added include of emu.h in sid (used only by MESS)
no whatsnew needed
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r-- | src/emu/ui.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c index bd789ef613a..2fda06a054c 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -26,6 +26,7 @@ #include "mess.h" #include "uimess.h" #include "inputx.h" +#include "messopts.h" #endif /* MESS */ #include <ctype.h> @@ -240,6 +241,12 @@ int ui_display_startup_screens(running_machine *machine, int first_time, int sho 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 */ if (!first_time || (str > 0 && str < 60*5) || machine->gamedrv == &GAME_NAME(empty) || (machine->debug_flags & DEBUG_FLAG_ENABLED) != 0) |