chore: misc style changes

This commit is contained in:
2022-12-28 06:51:02 -06:00
parent caaa60d1a8
commit 0cec779545
3 changed files with 84 additions and 91 deletions

View File

@@ -94,7 +94,7 @@ pub fn runFrame(sched: *Scheduler, cpu: *Arm7tdmi) void {
if (!cpu.stepDmaTransfer()) {
if (cpu.isHalted()) {
// Fast-forward to next Event
sched.tick = sched.queue.peek().?.tick;
sched.tick = sched.nextTimestamp();
} else {
cpu.step();
}