diff --git a/lib/src/processor/memory/mmio/gpu.rs b/lib/src/processor/memory/mmio/gpu.rs index 3702a93..2f1fff7 100644 --- a/lib/src/processor/memory/mmio/gpu.rs +++ b/lib/src/processor/memory/mmio/gpu.rs @@ -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 {