trunk/src/emu/ui/ui.c
| r243001 | r243002 | |
| 310 | 310 | const int maxstate = 4; |
| 311 | 311 | int str = machine().options().seconds_to_run(); |
| 312 | 312 | bool show_gameinfo = !machine().options().skip_gameinfo(); |
| 313 | | bool show_warnings = true; |
| 313 | bool show_warnings = true, show_mandatory_fileman = true; |
| 314 | 314 | int state; |
| 315 | 315 | |
| 316 | 316 | // disable everything if we are using -str for 300 or fewer seconds, or if we're the empty driver, |
| 317 | 317 | // or if we are debugging |
| 318 | 318 | if (!first_time || (str > 0 && str < 60*5) || &machine().system() == &GAME_NAME(___empty) || (machine().debug_flags & DEBUG_FLAG_ENABLED) != 0) |
| 319 | | show_gameinfo = show_warnings = show_disclaimer = FALSE; |
| 319 | show_gameinfo = show_warnings = show_disclaimer = show_mandatory_fileman = FALSE; |
| 320 | 320 | |
| 321 | 321 | #ifdef SDLMAME_EMSCRIPTEN |
| 322 | 322 | // also disable for the JavaScript port since the startup screens do not run asynchronously |
| r243001 | r243002 | |
| 355 | 355 | break; |
| 356 | 356 | |
| 357 | 357 | case 3: |
| 358 | | if (image_mandatory_scan(machine(), messagebox_text).len() > 0) |
| 358 | if (show_mandatory_fileman && image_mandatory_scan(machine(), messagebox_text).len() > 0) |
| 359 | 359 | { |
| 360 | 360 | astring warning; |
| 361 | 361 | warning.cpy("This driver requires images to be loaded in the following device(s): ").cat(messagebox_text.substr(0, messagebox_text.len() - 2)); |