Push fixes for red alarm
This commit is contained in:
parent
1a54c2e6fc
commit
62de97384d
|
@ -1 +1 @@
|
||||||
Subproject commit 06849b54ba7f7fd8bba09e1cf8a8cc9107ec269b
|
Subproject commit 57dcd8370a885541ae6a1de0f35b25675728b226
|
|
@ -147,7 +147,8 @@ impl Sim {
|
||||||
let memory = vec![0u64; size.div_ceil(4)];
|
let memory = vec![0u64; size.div_ceil(4)];
|
||||||
let sim: *mut VB = Box::into_raw(memory.into_boxed_slice()).cast();
|
let sim: *mut VB = Box::into_raw(memory.into_boxed_slice()).cast();
|
||||||
unsafe { vb_init(sim) };
|
unsafe { vb_init(sim) };
|
||||||
unsafe { vb_set_option(sim, VBOption::PseudoHalt, 1) };
|
// pseudohalt is disabled due to breaking red alarm
|
||||||
|
unsafe { vb_set_option(sim, VBOption::PseudoHalt, 0) };
|
||||||
unsafe { vb_reset(sim) };
|
unsafe { vb_reset(sim) };
|
||||||
|
|
||||||
// set up userdata
|
// set up userdata
|
||||||
|
|
Loading…
Reference in New Issue