view emscripten_pre.js @ 2707:a64c0e1ed6ac

Implement speed control and reset for media player. Fix other bindings that could cause it to crash
author Michael Pavone <pavone@retrodev.com>
date Sun, 06 Jul 2025 20:43:37 -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();
	});
}];