Push fixes for red alarm

This commit is contained in:
Simon Gellis 2025-01-05 22:08:37 -05:00
parent 1a54c2e6fc
commit 62de97384d
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 06849b54ba7f7fd8bba09e1cf8a8cc9107ec269b
Subproject commit 57dcd8370a885541ae6a1de0f35b25675728b226

View File

@ -147,7 +147,8 @@ impl Sim {
let memory = vec![0u64; size.div_ceil(4)];
let sim: *mut VB = Box::into_raw(memory.into_boxed_slice()).cast();
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) };
// set up userdata