Mercurial > repos > blastem
diff Makefile @ 2658:99297d5f4c5d
Persist save states and config in emscripten build via IDBFS module
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 04 Mar 2025 00:05:12 -0800 |
parents | ba2aba23b48e |
children | da2e06c42d16 |
line wrap: on
line diff
--- a/Makefile Mon Mar 03 22:11:34 2025 -0800 +++ b/Makefile Tue Mar 04 00:05:12 2025 -0800 @@ -121,7 +121,7 @@ CFLAGS+= --use-port=sdl2 LDFLAGS+= --use-port=sdl2 --embed-file rom.db --embed-file default.cfg --embed-file systems.cfg \ --embed-file shaders/ --embed-file images/ --embed-file DroidSans.ttf -sEXPORTED_FUNCTIONS=_main,_handle_chooser_result \ - -sEXPORTED_RUNTIME_METHODS=ccall,cwrap -sINITIAL_HEAP=50331648 + -sEXPORTED_RUNTIME_METHODS=ccall,cwrap,callMain -sINITIAL_HEAP=50331648 --pre-js emscripten_pre.js -lidbfs.js EXE:=.html else #CPU=wasm