remove sussy vram disable in gpu mode 3

This commit is contained in:
Alex Janka 2023-05-18 13:35:00 +10:00
parent 48e794861b
commit 335187732a

View file

@ -155,17 +155,11 @@ where
}
pub(crate) fn get_vram(&self, address: VramAddress) -> u8 {
if self.stat.mode != DrawMode::Mode3 {
self.vram.get(address)
} else {
0xFF
}
self.vram.get(address)
}
pub(crate) fn set_vram(&mut self, address: VramAddress, data: u8) {
// if self.stat.mode != DrawMode::Mode3 {
self.vram.set(address, data)
// }
}
pub(crate) fn get_oam(&self, address: OamAddress) -> u8 {