mirror of https://github.com/mgba-emu/mgba.git
This commit is contained in:
parent
5df0edb2e1
commit
b02b993047
|
@ -612,6 +612,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