mirror of https://github.com/mgba-emu/mgba.git
GB Video: Fix initialization
This commit is contained in:
parent
d3a204086d
commit
eb19998e14
|
@ -41,6 +41,7 @@ void GBVideoInit(struct GBVideo* video) {
|
||||||
void GBVideoReset(struct GBVideo* video) {
|
void GBVideoReset(struct GBVideo* video) {
|
||||||
video->ly = 0;
|
video->ly = 0;
|
||||||
video->mode = 1;
|
video->mode = 1;
|
||||||
|
video->stat = 1;
|
||||||
|
|
||||||
video->nextEvent = INT_MAX;
|
video->nextEvent = INT_MAX;
|
||||||
video->eventDiff = 0;
|
video->eventDiff = 0;
|
||||||
|
|
Loading…
Reference in New Issue