GB Video: Fix LYC in VBlank
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Feb 2016 04:08:07 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/video.c
→
src/gb/video.c
@@ -136,12 +136,12 @@ video->nextMode = GB_VIDEO_MODE_2_LENGTH;
video->mode = 2; if (GBRegisterSTATIsOAMIRQ(video->stat)) { video->p->memory.io[REG_IF] |= (1 << GB_IRQ_LCDSTAT); - GBUpdateIRQs(video->p); } } else { video->nextMode = GB_VIDEO_HORIZONTAL_LENGTH; } video->p->memory.io[REG_LY] = video->ly; + GBUpdateIRQs(video->p); break; case 2: _cleanOAM(video, video->ly);