verbose for banned write
This commit is contained in:
parent
1f1fb3ff57
commit
105fca6624
|
@ -185,7 +185,7 @@ impl Memory {
|
|||
0xFF4B => self.gpu.update_wx(data),
|
||||
0xFF03 | 0xFF08..0xFF0F | 0xFF44 => {
|
||||
// read-only addresses
|
||||
println!("BANNED write: {data:#X} to {address:#X}");
|
||||
verbose_println!("BANNED write: {data:#X} to {address:#X}");
|
||||
}
|
||||
0x0..0xFF00 | 0xFF4C..=u16::MAX => panic!("passed wrong address to set_io"),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue