From 12c3f6f68aa44ea852e338172fba564cfe322410 Mon Sep 17 00:00:00 2001 From: Lauchmelder Date: Tue, 23 Aug 2022 22:21:28 +0200 Subject: [PATCH] fix small issue in remaining cycles --- src/cpu.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cpu.rs b/src/cpu.rs index eed11cb..83a32a6 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -110,6 +110,8 @@ impl CPU } self.execute(); + + self.cycle -= 1; } fn execute(&mut self)