diff --git a/src/gb/video.c b/src/gb/video.c index 28a50bcff..5788dbe1a 100644 --- a/src/gb/video.c +++ b/src/gb/video.c @@ -136,12 +136,12 @@ int32_t GBVideoProcessEvents(struct GBVideo* video, int32_t cycles) { 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);