mirror of
https://github.com/mattrberry/crab.git
synced 2025-02-09 08:46:02 +01:00
reset vblank flag at line 227
This commit is contained in:
parent
a2af5771d7
commit
020aafd156
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ module GBA
|
|||
@vcount = (@vcount + 1) % 228
|
||||
@dispstat.vcounter = @vcount == @dispstat.vcount_setting
|
||||
@gba.interrupts.reg_if.vcounter = true if @dispstat.vcounter_irq_enable && @dispstat.vcounter
|
||||
if @vcount == 0
|
||||
if @vcount == 227
|
||||
@dispstat.vblank = false
|
||||
elsif @vcount == 160
|
||||
@dispstat.vblank = true
|
||||
|
|
Loading…
Add table
Reference in a new issue