pcm channels read-only
This commit is contained in:
parent
124b823ae1
commit
7fba9cca89
|
@ -429,8 +429,8 @@ where
|
|||
CgbIoAddress::Palette(address) => self.gpu.set_cgb_palette(address, data),
|
||||
CgbIoAddress::ObjPriority => self.gpu.set_obj_priority(data),
|
||||
CgbIoAddress::WramBank => *selected = (data & 0b111).max(1) as usize,
|
||||
CgbIoAddress::Pcm12 => todo!(),
|
||||
CgbIoAddress::Pcm34 => todo!(),
|
||||
CgbIoAddress::Pcm12 => {},
|
||||
CgbIoAddress::Pcm34 => {},
|
||||
CgbIoAddress::Unused(v) => {
|
||||
println!("attempt to set 0x{v:0>4X} to 0x{data:0>2X}")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue