From 6f919acafbe5eef13c11e2b41feb851908fa144a Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Tue, 4 May 2021 21:38:37 -0500 Subject: [PATCH] chore(bus): remove 0xFF7F matches from read and write_byte --- src/bus.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bus.rs b/src/bus.rs index a8050d6..b4d163d 100644 --- a/src/bus.rs +++ b/src/bus.rs @@ -166,7 +166,6 @@ impl Bus { 0xFF4A => self.ppu.pos.window_y, 0xFF4B => self.ppu.pos.window_x, 0xFF4D => 0x00, // Reading from this address is useful on the CGB only - 0xFF7F => 0x00, // Don't think this address is used for anything _ => unimplemented!("Unable to read {:#06X} in I/O Registers", addr), } } @@ -285,7 +284,6 @@ impl Bus { self.boot = None; } } - 0xFF7F => {} // Don't think this address is used for anything _ => unimplemented!("Unable to write to {:#06X} in I/O Registers", addr), }; }