fixed zelda line weirdness

This commit is contained in:
2025-02-21 12:36:25 -07:00
parent 97bf116c89
commit 4da737135d
3 changed files with 6 additions and 4 deletions

View File

@ -94,6 +94,7 @@ void ppu_mode_oam() {
}
if(ppu_get_context()->line_ticks == 1) {
ppu_get_context()->pfc.lo_scroll_x = lcd_get_context()->scroll_x & 0b111;
//read oam on the first tick only...
ppu_get_context()->line_sprites = 0;
ppu_get_context()->line_sprite_count = 0;