Skip to content

Instantly share code, notes, and snippets.

@Enverex
Created December 16, 2016 12:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Enverex/420fda0bc0cd5a50d9d90ce8dad89822 to your computer and use it in GitHub Desktop.
Save Enverex/420fda0bc0cd5a50d9d90ce8dad89822 to your computer and use it in GitHub Desktop.
Disable Info/Warnings in MAME Core
diff --git a/src/frontend/mame/ui/ui.cpp b/src/frontend/mame/ui/ui.cpp
index 9ce3809..bd8efdd 100644
--- a/src/frontend/mame/ui/ui.cpp
+++ b/src/frontend/mame/ui/ui.cpp
@@ -289,6 +289,8 @@ void mame_ui_manager::display_startup_screens(bool first_time)
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_mandatory_fileman = false;
+ show_gameinfo = show_warnings = show_mandatory_fileman = false;
+
#if defined(EMSCRIPTEN)
// also disable for the JavaScript port since the startup screens do not run asynchronously
show_gameinfo = show_warnings = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment