all repos — mgba @ 7bc39569edec5e719126e8c3a977a3e5ec3d6c3c

mGBA Game Boy Advance Emulator

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
commit

7bc39569edec5e719126e8c3a977a3e5ec3d6c3c

parent

e7dd041618655d553e26416e471d24db4cd0e66a

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

jump to
M CHANGESCHANGES

@@ -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.csrc/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;