35fcc1835c
The engine now expects to emscripten FS to be setup and sync-ed before main is called. This is exposed via `Module["initFS"]` which also allows to setup multiple persistence paths (internal use only for now). Additionally, FS syncing is done **once** for every loop if at least one file in a persistent path was open for writing and closed, and if the FS is not syncing already. This should potentially fix issues reported by users where "autosave" would not work on the web (never calling `syncfs` because of too many writes). |
||
---|---|---|
.. | ||
api | ||
engine | ||
export | ||
native | ||
audio_driver_javascript.cpp | ||
audio_driver_javascript.h | ||
detect.py | ||
dom_keys.inc | ||
emscripten_helpers.py | ||
http_client.h.inc | ||
http_client_javascript.cpp | ||
http_request.h | ||
javascript_eval.cpp | ||
javascript_main.cpp | ||
logo.png | ||
os_javascript.cpp | ||
os_javascript.h | ||
platform_config.h | ||
run_icon.png | ||
SCsub |