Permalink
Browse files

Revert "GB: Cancel IRQs if interrupt is unasserted before dispatch (f…

…ixes #1000, #1003)"

This reverts commit fd0af73.
  • Loading branch information...
endrift committed Apr 4, 2018
1 parent 29bf21a commit 073019031768db7287a65ace2b8b61dd9bea7d44
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/gb/gb.c
View
@@ -526,7 +526,6 @@ 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;

0 comments on commit 0730190

Please sign in to comment.