all repos — mgba @ eb19998e1482465e346ef42a21f294524b12f641

mGBA Game Boy Advance Emulator

GB Video: Fix initialization
Jeffrey Pfau jeffrey@endrift.com
Fri, 22 Jan 2016 20:24:46 -0800
commit

eb19998e1482465e346ef42a21f294524b12f641

parent

d3a204086d670377e2aa6b685218ac09024b15ba

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gb/video.csrc/gb/video.c

@@ -41,6 +41,7 @@

void GBVideoReset(struct GBVideo* video) { video->ly = 0; video->mode = 1; + video->stat = 1; video->nextEvent = INT_MAX; video->eventDiff = 0;