remove sussy vram disable in gpu mode 3
This commit is contained in:
parent
48e794861b
commit
335187732a
1 changed files with 1 additions and 7 deletions
|
@ -155,17 +155,11 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn get_vram(&self, address: VramAddress) -> u8 {
|
pub(crate) fn get_vram(&self, address: VramAddress) -> u8 {
|
||||||
if self.stat.mode != DrawMode::Mode3 {
|
self.vram.get(address)
|
||||||
self.vram.get(address)
|
|
||||||
} else {
|
|
||||||
0xFF
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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 {
|
|
||||||
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…
Add table
Reference in a new issue