Another whoops
This commit is contained in:
parent
02841ddde6
commit
14f267b4fa
@ -1342,6 +1342,8 @@ void GB_cpu_run(GB_gameboy_t *gb)
|
|||||||
interrupt_queue |= gb->future_interrupts & gb->interrupt_enable;
|
interrupt_queue |= gb->future_interrupts & gb->interrupt_enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gb->io_registers[GB_IO_IF] |= gb->future_interrupts;
|
||||||
|
gb->future_interrupts = 0;
|
||||||
|
|
||||||
if (interrupt_queue) {
|
if (interrupt_queue) {
|
||||||
gb->halted = false;
|
gb->halted = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user