From dd48addae8b889fdab37a9c7e973227264f7b75f Mon Sep 17 00:00:00 2001 From: Solra Bizna Date: Wed, 26 Jul 2017 09:07:39 -0600 Subject: [PATCH] The SDL bug workaround doesn't work in Emscripten, because Emscripten changes the buffer size. This excessively-large memory usage has to stay until SDL 2.0.6 finds its way into Emscripten. --- make/target/Emscripten.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/target/Emscripten.mk b/make/target/Emscripten.mk index 58c1cb3..cb93292 100644 --- a/make/target/Emscripten.mk +++ b/make/target/Emscripten.mk @@ -23,7 +23,7 @@ CXXFLAGS_RELEASE=$(CFLAGS_RELEASE) # Flags passed to the linker. LDFLAGS_RELEASE=-O3 -flto # Libraries. -LIBS=../ars-emscripten-libs/ars-emscripten-libs.bc -s USE_SDL=2 -s TOTAL_MEMORY=16777216 +LIBS=../ars-emscripten-libs/ars-emscripten-libs.bc -s USE_SDL=2 -s TOTAL_MEMORY=134217728 # Extension for executables. EXE=.js