mirror of https://github.com/mgba-emu/mgba.git
GB Video: Fix LCDC changes taking effect too soon
This commit is contained in:
parent
3593aa7b81
commit
e30e3734da
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue