Initialize video->eventDiff

This commit is contained in:
Jeffrey Pfau 2013-04-15 23:15:02 -07:00
parent 2fe2c80ae5
commit e874266343
1 changed files with 1 additions and 0 deletions

View File

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