mirror of https://github.com/mgba-emu/mgba.git
Initialize video->eventDiff
This commit is contained in:
parent
2fe2c80ae5
commit
e874266343
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue