GBA Video: Start video at the last scanline instead of the first
Jeffrey Pfau jeffrey@endrift.com
Wed, 14 Jan 2015 02:29:45 -0800
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -65,6 +65,7 @@ - Qt: Clarify some phrasing in the menus
- GBA Memory: Implement 16- and 32-bit loads from SRAM - Qt: Clear active buttons when focus is lost - GBA Memory: Simplify memory API and use fixed bus width + - GBA Video: Start video at the last scanline instead of the first 0.1.0: (2014-12-13) - Initial release
M
src/gba/gba-video.c
→
src/gba/gba-video.c
@@ -42,7 +42,7 @@ }
void GBAVideoReset(struct GBAVideo* video) { video->dispstat = 0; - video->vcount = 0; + video->vcount = VIDEO_VERTICAL_TOTAL_PIXELS - 1; video->lastHblank = 0; video->nextHblank = VIDEO_HDRAW_LENGTH;