binji/binjgb

Graphics bug in Sagaia

binji opened this issue · 1 comments

binji commented

When you fly down the screen, there is a spot where the window fills the entire screen. The issue is that the LY=LYC interrupt should be firing, but isn't. The strange thing is that normally the code sets the LYC value to something below the current LY value. When it screws up, it sets LYC to the current LY value. This should fire an interrupt, but it seems to be blocked by the internal STAT interrupt flag already being set (see stat_irq_blocking in mooneye-gb). Maybe I'm setting it wrong.

binji commented

It wasn't a stat blocking bug, but just an issue with when I was checking the STAT flag.