Skip to content
Snippets Groups Projects
Verified Commit 9348f64f authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: lyc polling information

parent d3d02d9c
No related branches found
No related tags found
No related merge requests found
Pipeline #875 passed
...@@ -212,7 +212,8 @@ impl Ppu { ...@@ -212,7 +212,8 @@ impl Ppu {
| if self.stat_vblank { 0x08 } else { 0x00 } | if self.stat_vblank { 0x08 } else { 0x00 }
| if self.stat_oam { 0x10 } else { 0x00 } | if self.stat_oam { 0x10 } else { 0x00 }
| if self.stat_lyc { 0x20 } else { 0x00 } | if self.stat_lyc { 0x20 } else { 0x00 }
| self.mode as u8; | if self.lyc == self.line { 0x04 } else { 0x00 }
| (self.mode as u8 & 0x03);
value value
} }
0x0042 => self.scy, 0x0042 => self.scy,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment