Use WebAssembly instead ASM.JS #515

This commit is contained in:
BADIM-PC\Vadim 2018-01-22 16:35:19 +03:00
parent e0cc606d2c
commit 6cc4560cdc
2 changed files with 3 additions and 3 deletions

View File

@ -296,6 +296,9 @@ $(TIC80_DLL): $(TIC80_O)
emscripten:
$(EMS_CC) $(SOURCES) $(TIC80_SRC) $(OPT) $(INCLUDES) $(EMS_OPT) $(EMS_LINKER_FLAGS) -o build/html/tic.js
wasm:
$(EMS_CC) $(SOURCES) $(TIC80_SRC) $(OPT) $(INCLUDES) $(EMS_OPT) -s WASM=1 $(EMS_LINKER_FLAGS) -o build/html/tic.js
mingw: $(DEMO_ASSETS) $(TIC80_DLL) $(TIC_O) bin/html.o bin/res.o
$(CC) $(TIC_O) bin/html.o bin/res.o $(TIC80_A) $(OPT) $(INCLUDES) $(MINGW_LINKER_FLAGS) -o $(MINGW_OUTPUT)

View File

@ -2805,9 +2805,6 @@ static void emstick()
}
else
emscripten_set_main_loop_timing(EM_TIMING_SETTIMEOUT, delay);
if(studio.missedFrames > 0)
studio.missedFrames--;
}
#endif