all repos — mgba @ 9de8576e7173758f283ab42e2321da1c958790d1

mGBA Game Boy Advance Emulator

GB Video: Draw top scanline
Jeffrey Pfau jeffrey@endrift.com
Wed, 20 Jan 2016 23:02:54 -0800
commit

9de8576e7173758f283ab42e2321da1c958790d1

parent

c0b965a41ed22373b76cc6bd8d23e0ff3bdf9c99

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gb/video.csrc/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)) {