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()
|
function done()
|
||||||
{
|
{
|
||||||
if(settings.initial_state)
|
//if(settings.initial_state)
|
||||||
{
|
//{
|
||||||
// avoid large allocation now, memory will be restored later anyway
|
// // avoid large allocation now, memory will be restored later anyway
|
||||||
settings.memory_size = 0;
|
// settings.memory_size = 0;
|
||||||
}
|
//}
|
||||||
|
|
||||||
this.bus.send("cpu-init", settings);
|
this.bus.send("cpu-init", settings);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue