GBA Video: Start video at the last scanline instead of the first

This commit is contained in:
Jeffrey Pfau 2015-01-14 02:29:45 -08:00
parent e7dd041618
commit 7bc39569ed
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ Misc:
- GBA Memory: Implement 16- and 32-bit loads from SRAM - GBA Memory: Implement 16- and 32-bit loads from SRAM
- Qt: Clear active buttons when focus is lost - Qt: Clear active buttons when focus is lost
- GBA Memory: Simplify memory API and use fixed bus width - 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) 0.1.0: (2014-12-13)
- Initial release - Initial release

View File

@ -42,7 +42,7 @@ void GBAVideoInit(struct GBAVideo* video) {
void GBAVideoReset(struct GBAVideo* video) { void GBAVideoReset(struct GBAVideo* video) {
video->dispstat = 0; video->dispstat = 0;
video->vcount = 0; video->vcount = VIDEO_VERTICAL_TOTAL_PIXELS - 1;
video->lastHblank = 0; video->lastHblank = 0;
video->nextHblank = VIDEO_HDRAW_LENGTH; video->nextHblank = VIDEO_HDRAW_LENGTH;