mirror of https://github.com/mgba-emu/mgba.git
GB: Fix missing EI
This commit is contained in:
parent
9e4f53aa24
commit
4c5ba8d8c1
|
@ -336,6 +336,8 @@ void GBProcessEvents(struct LR35902Core* cpu) {
|
||||||
gb->memory.ime = true;
|
gb->memory.ime = true;
|
||||||
GBUpdateIRQs(gb);
|
GBUpdateIRQs(gb);
|
||||||
gb->eiPending = INT_MAX;
|
gb->eiPending = INT_MAX;
|
||||||
|
} else {
|
||||||
|
nextEvent = gb->eiPending;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue