view emscripten_pre.js @ 2666:38c281ef57b0

Memory access optimizaiton in new 68K core that gives a modest speed bump on average and will allow low-cost watchpoints
author Michael Pavone <pavone@retrodev.com>
date Fri, 07 Mar 2025 23:40:58 -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();
	});
}];