GB Video: Draw top scanline
Jeffrey Pfau jeffrey@endrift.com
Wed, 20 Jan 2016 23:02:54 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gb/video.c
→
src/gb/video.c
@@ -108,6 +108,7 @@ case 1:
++video->ly; if (video->ly >= GB_VIDEO_VERTICAL_TOTAL_PIXELS) { video->ly = 0; + video->renderer->drawScanline(video->renderer, video->ly); video->nextMode = GB_VIDEO_MODE_2_LENGTH; video->mode = 2; if (GBRegisterSTATIsOAMIRQ(video->stat)) {