summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
author Justin Kerk <dopefishjustin@gmail.com>2019-08-08 14:23:12 +0000
committer Justin Kerk <dopefishjustin@gmail.com>2019-08-08 14:23:12 +0000
commit490709a6c1513da1365db30cd661c6b40a7fa008 (patch)
tree43bd36c739b2d386263fc5fd15971fe4056b591f /src/frontend
parent2e2ee0ee6a5aeed9a3dc512797ad020c309a7f0d (diff)
Fix build in newer Emscripten versions (nw)
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/ui/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/ui.cpp b/src/frontend/mame/ui/ui.cpp
index 3a9151f1f2e..ec176328835 100644
--- a/src/frontend/mame/ui/ui.cpp
+++ b/src/frontend/mame/ui/ui.cpp
@@ -311,7 +311,7 @@ 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 || video_none)
show_gameinfo = show_warnings = show_mandatory_fileman = false;
-#if defined(EMSCRIPTEN)
+#if defined(__EMSCRIPTEN__)
// also disable for the JavaScript port since the startup screens do not run asynchronously
show_gameinfo = show_warnings = false;
#endif