We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b6f7c commit 10e01a4Copy full SHA for 10e01a4
src/bin/mlogv32.rs
@@ -404,10 +404,9 @@ fn main() -> Result<(), Box<dyn Error>> {
404
405
println!("Initializing processors...");
406
407
- let mut time = Duration::ZERO;
408
for _ in 0..500 {
409
- vm.do_tick(time);
410
- time += Duration::from_secs_f64(1. / 60.);
+ // pin time at zero to avoid processors waiting based on invalid @time values
+ vm.do_tick(Duration::ZERO);
411
}
412
413
// switch to TUI
0 commit comments