src/emu/emuopts.c
| r7302 | r7303 | |
| 154 | 154 | { "bios", NULL, 0, "select the system BIOS to use" }, |
| 155 | 155 | { "cheat;c", "0", OPTION_BOOLEAN, "enable cheat subsystem" }, |
| 156 | 156 | { "skip_gameinfo", "0", OPTION_BOOLEAN, "skip displaying the information screen at startup" }, |
| 157 | { "skip_warnings", "0", OPTION_BOOLEAN, "skip displaying the warnings screen" }, |
| 157 | 158 | |
| 158 | 159 | { NULL } |
| 159 | 160 | }; |
src/emu/ui.c
| r7302 | r7303 | |
| 231 | 231 | |
| 232 | 232 | int ui_display_startup_screens(running_machine *machine, int first_time, int show_disclaimer) |
| 233 | 233 | { |
| 234 | | #ifdef MESS |
| 235 | | const int maxstate = 4; |
| 236 | | #else |
| 237 | 234 | const int maxstate = 3; |
| 238 | | #endif |
| 239 | 235 | int str = options_get_int(mame_options(), OPTION_SECONDS_TO_RUN); |
| 240 | 236 | int show_gameinfo = !options_get_bool(mame_options(), OPTION_SKIP_GAMEINFO); |
| 241 | 237 | int show_warnings = TRUE; |
| 242 | 238 | int state; |
| 243 | 239 | |
| 244 | | #ifdef MESS |
| 245 | 240 | show_warnings = !options_get_bool(mame_options(), OPTION_SKIP_WARNINGS); |
| 246 | 241 | if (!show_warnings) |
| 247 | 242 | show_disclaimer = FALSE; |
| 248 | | #endif /* MESS */ |
| 249 | 243 | |
| 250 | 244 | /* disable everything if we are using -str for 300 or fewer seconds, or if we're the empty driver, |
| 251 | 245 | or if we are debugging */ |
| r7302 | r7303 | |
| 285 | 279 | if (show_gameinfo && game_info_astring(machine, messagebox_text).len() > 0) |
| 286 | 280 | ui_set_handler(handler_messagebox_anykey, 0); |
| 287 | 281 | break; |
| 288 | | #ifdef MESS |
| 289 | | case 3: |
| 290 | | break; |
| 291 | | #endif |
| 292 | 282 | } |
| 293 | 283 | |
| 294 | 284 | /* clear the input memory */ |
src/mess/messopts.c
| r7302 | r7303 | |
| 35 | 35 | { NULL, NULL, OPTION_HEADER, "MESS SPECIFIC OPTIONS" }, |
| 36 | 36 | { "ramsize;ram", NULL, 0, "size of RAM (if supported by driver)" }, |
| 37 | 37 | { "writeconfig;wc", "0", OPTION_BOOLEAN, "writes configuration to (driver).ini on exit" }, |
| 38 | | { OPTION_SKIP_WARNINGS, "0", OPTION_BOOLEAN, "skip displaying the warnings screen" }, |
| 39 | 38 | { OPTION_ADDED_DEVICE_OPTIONS, "0", OPTION_BOOLEAN | OPTION_INTERNAL, "device-specific options have been added" }, |
| 40 | 39 | { "natural;nat", "0", OPTION_BOOLEAN, "specifies whether to use a natural keyboard or not" }, |
| 41 | 40 | { NULL } |