From e2fa72aa0e79fd77759e72261771e3f431646407 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Thu, 8 Apr 2021 00:02:54 -0500 Subject: [PATCH] chore: remove unecessary eprintln! statements --- src/bus.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/bus.rs b/src/bus.rs index 3fe334b..acfeff4 100644 --- a/src/bus.rs +++ b/src/bus.rs @@ -146,7 +146,7 @@ impl Bus { 0xFF4A => self.ppu.pos.window_y, 0xFF4B => self.ppu.pos.window_x, 0xFF4D => { - eprintln!("Reading from {:#06X} is available in CGB Mode only", addr); + // Reading from this address is useful on the CGB only 0x00 } _ => unimplemented!("Unable to read {:#06X} in I/O Registers", addr), @@ -246,10 +246,7 @@ impl Bus { 0xFF4A => self.ppu.pos.window_y = byte, 0xFF4B => self.ppu.pos.window_x = byte, 0xFF4D => { - eprintln!( - "Writing {:#04X} to {:#06X} is available in CGB Mode only", - byte, addr - ); + // Writing to this address is useful on the CGB only } 0xFF50 => { // Disable Boot ROM