Disable startup screens for JSMESS (the method we were previously using to skip them had unwanted side-effects) (nw)

This commit is contained in:
Justin Kerk 2014-01-28 05:41:14 +00:00
parent 9b56478497
commit ebed4a6cb2

View File

@ -336,6 +336,11 @@ int ui_display_startup_screens(running_machine &machine, int first_time, int sho
if (!first_time || (str > 0 && str < 60*5) || &machine.system() == &GAME_NAME(___empty) || (machine.debug_flags & DEBUG_FLAG_ENABLED) != 0)
show_gameinfo = show_warnings = show_disclaimer = FALSE;
#ifdef SDLMAME_EMSCRIPTEN
// also disable for the JavaScript port since the startup screens do not run asynchronously
show_gameinfo = show_warnings = show_disclaimer = FALSE;
#endif
// loop over states
ui_set_handler(handler_ingame, 0);
for (state = 0; state < maxstate && !machine.scheduled_event_pending() && !ui_menu::stack_has_special_main_menu(); state++)