From e30e3734da29c84dd4047fbfaa2e699b8d7968b8 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sat, 27 Aug 2016 11:21:44 -0700 Subject: [PATCH] GB Video: Fix LCDC changes taking effect too soon --- src/gb/io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gb/io.c b/src/gb/io.c index c6995c07a..e09a33173 100644 --- a/src/gb/io.c +++ b/src/gb/io.c @@ -353,6 +353,7 @@ void GBIOWrite(struct GB* gb, unsigned address, uint8_t value) { return; case REG_LCDC: // TODO: handle GBC differences + GBVideoProcessDots(&gb->video); value = gb->video.renderer->writeVideoRegister(gb->video.renderer, address, value); GBVideoWriteLCDC(&gb->video, value); break;