fix vram lockout

This commit is contained in:
Alex Janka 2023-04-23 09:52:15 +10:00
parent a164d23405
commit 5039b19222

View file

@ -271,9 +271,9 @@ where
}
pub(crate) fn set_vram(&mut self, address: VramAddress, data: u8) {
if self.stat.mode != DrawMode::Mode3 {
// if self.stat.mode != DrawMode::Mode3 {
self.vram.set(address, data)
}
// }
}
pub(crate) fn get_oam(&self, address: OamAddress) -> u8 {