Revert "GB: Cancel IRQs if interrupt is unasserted before dispatch (fixes #1000, #1003)" This reverts commit fd0af73f32cd220fe1739f1c7a9f67d40d017097.
Vicki Pfau vi@endrift.com
Tue, 03 Apr 2018 20:43:07 -0700
1 files changed,
0 insertions(+),
1 deletions(-)
jump to
M
src/gb/gb.c
→
src/gb/gb.c
@@ -526,7 +526,6 @@
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;