fix vram lockout
This commit is contained in:
parent
a164d23405
commit
5039b19222
|
@ -271,9 +271,9 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn set_vram(&mut self, address: VramAddress, data: u8) {
|
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)
|
self.vram.set(address, data)
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn get_oam(&self, address: OamAddress) -> u8 {
|
pub(crate) fn get_oam(&self, address: OamAddress) -> u8 {
|
||||||
|
|
Loading…
Reference in a new issue