From 46840c43a45c18a46c9731e795612c963ea43c8c Mon Sep 17 00:00:00 2001 From: Stephanie Gredell Date: Sat, 18 Jan 2025 15:06:42 -0800 Subject: [PATCH] make the match exhuastive ... barely --- cpu.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpu.rs b/cpu.rs index 7e8088e..6f490c1 100644 --- a/cpu.rs +++ b/cpu.rs @@ -72,6 +72,10 @@ impl CPU { self.status = self.status & 0b1111_1101; } } + 0x00 => { + return; + } + _ => todo!(), } } }