Skip to content

Commit 2392014

Browse files
committed
--check-all no longer implies --timer
1 parent 2832234 commit 2392014

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

machine.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ def run_with_checks(self):
242242

243243
inst = ram.load_word(cpu.pc)
244244
cpu.execute(inst)
245-
cpu.timer_update()
245+
if self.args.timer:
246+
cpu.timer_update()
246247
cpu.pc = cpu.next_pc
247248

248249
# EXECUTION LOOP: minimal version (fast)

0 commit comments

Comments
 (0)