From: Holger Schemel Date: Mon, 15 Feb 2021 23:05:29 +0000 (+0100) Subject: increased initial memory for Emscripten platform X-Git-Tag: 4.2.3.0~13 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=b57a61d457edecd5f13c899f962c099ff272fd54;p=rocksndiamonds.git increased initial memory for Emscripten platform --- diff --git a/src/Makefile b/src/Makefile index 0db8f54d..e525f1f0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -97,7 +97,7 @@ ifeq ($(PLATFORM),emscripten) SDL_LIBS = -s USE_SDL_IMAGE=2 -s USE_SDL_MIXER=2 -s USE_SDL_NET=2 -s USE_ZLIB=1 SDL_FMTS = -s SDL2_IMAGE_FORMATS='["bmp","png","pcx","xpm"]' EXTRA_CFLAGS = $(SDL_LIBS) -EXTRA_LDFLAGS = $(SDL_FMTS) -s INITIAL_MEMORY=65536000 -s ALLOW_MEMORY_GROWTH=1 --preload-file ../graphics/ --preload-file ../sounds/ --preload-file ../levels/ --preload-file ../music/ -s NO_EXIT_RUNTIME=0 -s ASYNCIFY -O2 +EXTRA_LDFLAGS = $(SDL_FMTS) -s INITIAL_MEMORY=81920000 -s ALLOW_MEMORY_GROWTH=1 --preload-file ../graphics/ --preload-file ../sounds/ --preload-file ../levels/ --preload-file ../music/ -s NO_EXIT_RUNTIME=0 -s ASYNCIFY -O2 else SDL_LIBS = -lSDL2_image -lSDL2_mixer -lSDL2_net endif