From 9605165b85f132940f6449f20f0367a0aa1764ff Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Sun, 14 Jan 2018 15:42:37 -0500 Subject: [PATCH] disable emterpreter for now (too many issues) --- CMakeLists.txt | 8 ++++---- src/freespace2/freespace.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf7a011..da2d340 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -241,10 +241,10 @@ if(EMSCRIPTEN) "-s DEMANGLE_SUPPORT=1" "-s ASSERTIONS=2" "--profiling-funcs" - "-s EMTERPRETIFY=1" - "-s EMTERPRETIFY_ASYNC=1" - "-s 'EMTERPRETIFY_FILE=\"${FS_BINARY}.binary\"'" - "-s 'EMTERPRETIFY_WHITELIST=${EMTERPRETIFY_WHITELIST}'" + # "-s EMTERPRETIFY=1" + # "-s EMTERPRETIFY_ASYNC=1" + # "-s 'EMTERPRETIFY_FILE=\"${FS_BINARY}.binary\"'" + # "-s 'EMTERPRETIFY_WHITELIST=${EMTERPRETIFY_WHITELIST}'" ) foreach(Flag ${LINK_FLAGS}) diff --git a/src/freespace2/freespace.cpp b/src/freespace2/freespace.cpp index 7e184d6..18551a4 100644 --- a/src/freespace2/freespace.cpp +++ b/src/freespace2/freespace.cpp @@ -1916,7 +1916,7 @@ void game_loading_callback(int count) gr_flip(); #ifdef __EMSCRIPTEN__ - emscripten_sleep(10); + //emscripten_sleep(10); #endif } @@ -8246,7 +8246,7 @@ void display_title_screen() // give it some time on screen #ifdef __EMSCRIPTEN__ - emscripten_sleep(1000); + //emscripten_sleep(1000); #else SDL_Delay(1000); #endif -- 2.39.2