startup windowed and disable movies with Emscripten
authorTaylor Richards <taylor@icculus.org>
Thu, 7 Dec 2017 01:51:26 +0000 (20:51 -0500)
committerTaylor Richards <taylor@icculus.org>
Sat, 17 Mar 2018 15:17:36 +0000 (11:17 -0400)
src/cmdline/cmdline.cpp

index f9d92d5..38730e5 100644 (file)
@@ -799,5 +799,12 @@ int parse_cmdline(const char *cmdline)
        Cmdline_window = 1;
 #endif
 
+#ifdef __EMSCRIPTEN__
+       // default to windowed mode and no movies
+       Cmdline_play_movies = 0;
+       Cmdline_fullscreen = 0;
+       Cmdline_window = 1;
+#endif
+
        return 1;
 }