diff --git a/CHANGES b/CHANGES index d15921656..1e4b8c82c 100644 --- a/CHANGES +++ b/CHANGES @@ -156,6 +156,7 @@ Bugfixes: - Qt: Fix initial window size (fixes mgba.io/i/766) - Qt: Fix data directory path - Qt: Fix controls not saving on non-SDL builds + - GB Video: Fix LYC regression Misc: - Qt: Add language selector - GBA Timer: Improve accuracy of timers diff --git a/src/gb/video.c b/src/gb/video.c index b495a96b1..605fcdd7f 100644 --- a/src/gb/video.c +++ b/src/gb/video.c @@ -386,6 +386,7 @@ void GBVideoWriteLYC(struct GBVideo* video, uint8_t value) { video->p->memory.io[REG_IF] |= (1 << GB_IRQ_LCDSTAT); GBUpdateIRQs(video->p); } + video->p->memory.io[REG_STAT] = video->stat; } void GBVideoWritePalette(struct GBVideo* video, uint16_t address, uint8_t value) {