Mercurial > repos > blastem
view emscripten_pre.js @ 2663:568c1c22f3e3
Allow changing at least some settings in web build without breaking
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 06 Mar 2025 01:33:03 -0800 |
parents | 99297d5f4c5d |
children |
line wrap: on
line source
Module.noInitialRun = true; Module.preRun = [() => { FS.mount(IDBFS, {autoPersist: true}, '/home/web_user'); FS.syncfs(true, (err) => { if (err) { console.log('Error loading IDBFS', err); } Module.callMain(); }); }];