chore: remove unecessary eprintln! statements

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-04-08 00:02:54 -05:00
parent 0538522aa2
commit e2fa72aa0e
1 changed files with 2 additions and 5 deletions

View File

@ -146,7 +146,7 @@ impl Bus {
0xFF4A => self.ppu.pos.window_y, 0xFF4A => self.ppu.pos.window_y,
0xFF4B => self.ppu.pos.window_x, 0xFF4B => self.ppu.pos.window_x,
0xFF4D => { 0xFF4D => {
eprintln!("Reading from {:#06X} is available in CGB Mode only", addr); // Reading from this address is useful on the CGB only
0x00 0x00
} }
_ => unimplemented!("Unable to read {:#06X} in I/O Registers", addr), _ => unimplemented!("Unable to read {:#06X} in I/O Registers", addr),
@ -246,10 +246,7 @@ impl Bus {
0xFF4A => self.ppu.pos.window_y = byte, 0xFF4A => self.ppu.pos.window_y = byte,
0xFF4B => self.ppu.pos.window_x = byte, 0xFF4B => self.ppu.pos.window_x = byte,
0xFF4D => { 0xFF4D => {
eprintln!( // Writing to this address is useful on the CGB only
"Writing {:#04X} to {:#06X} is available in CGB Mode only",
byte, addr
);
} }
0xFF50 => { 0xFF50 => {
// Disable Boot ROM // Disable Boot ROM