mirror of https://github.com/mgba-emu/mgba.git
This commit is contained in:
parent
369bcc9511
commit
fd0af73f32
|
@ -526,6 +526,7 @@ void GBDetectModel(struct GB* gb) {
|
|||
void GBUpdateIRQs(struct GB* gb) {
|
||||
int irqs = gb->memory.ie & gb->memory.io[REG_IF];
|
||||
if (!irqs) {
|
||||
gb->cpu->irqPending = false;
|
||||
return;
|
||||
}
|
||||
gb->cpu->halted = false;
|
||||
|
|
Loading…
Reference in New Issue