Disable initial state memory optimisation (breaks with wasm)

This commit is contained in:
Fabian 2017-07-18 15:20:36 -05:00
parent 75ae9fe420
commit 9fa0d18ee8

View file

@ -589,11 +589,11 @@ function V86Starter(options)
function done()
{
if(settings.initial_state)
{
// avoid large allocation now, memory will be restored later anyway
settings.memory_size = 0;
}
//if(settings.initial_state)
//{
// // avoid large allocation now, memory will be restored later anyway
// settings.memory_size = 0;
//}
this.bus.send("cpu-init", settings);