Mercurial > repos > blastem
view emscripten_pre.js @ 2685:da2e06c42d16
Add a compile-time flag to use RGB565 instead of ABGR/ARGB
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 30 Mar 2025 00:06:53 -0700 |
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(); }); }];