GBA Video: Fix timing on first scanline

This commit is contained in:
Jeffrey Pfau 2015-08-11 01:14:40 -07:00
parent 013948f129
commit e36f3c8211
2 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ Bugfixes:
- GBA Video: Prevent tiles < 512 from being used in modes 3 - 5
- Qt: Fix passing command line options
- Qt: Fix crashes on Windows by using using QMetaObject to do cross-thread calls
- GBA Video: Fix timing on first scanline
Misc:
- Qt: Handle saving input settings better
- Debugger: Free watchpoints in addition to breakpoints

View File

@ -67,7 +67,7 @@ void GBAVideoReset(struct GBAVideo* video) {
video->lastHblank = 0;
video->nextHblank = VIDEO_HDRAW_LENGTH;
video->nextEvent = video->nextHblank;
video->eventDiff = video->nextEvent;
video->eventDiff = 0;
video->nextHblankIRQ = 0;
video->nextVblankIRQ = 0;