virtualx-engine/platform/javascript/engine
Fabio Alessandrelli dccd71c7a3 JS synchronous start, better persistent FS sync.
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).
2020-09-23 09:51:06 +02:00
..
engine.js JS synchronous start, better persistent FS sync. 2020-09-23 09:51:06 +02:00
externs.js [HTML5] Refactor JS, threads support, closures. 2020-03-11 16:09:31 +01:00
preloader.js [HTML5] Refactor JS, threads support, closures. 2020-03-11 16:09:31 +01:00
utils.js Fix Closure compiler build, python style. 2020-05-10 18:22:48 +02:00