diff --git a/CHANGES b/CHANGES index 33d9f2668..e3fde14ff 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/src/gba/video.c b/src/gba/video.c index 39856c2a9..fef6e1b54 100644 --- a/src/gba/video.c +++ b/src/gba/video.c @@ -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;