mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Start video at the last scanline instead of the first
This commit is contained in:
parent
e7dd041618
commit
7bc39569ed
1
CHANGES
1
CHANGES
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue