Disable initial state memory optimisation (breaks with wasm)
This commit is contained in:
parent
75ae9fe420
commit
9fa0d18ee8
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue