diff --git a/src/pic.c b/src/pic.c index 80b274ee7..ca2d83022 100644 --- a/src/pic.c +++ b/src/pic.c @@ -196,6 +196,9 @@ pic_update_pending(void) pic.irr |= (1 << pic2.icw3); else pic.irr &= ~(1 << pic2.icw3); + + pic_pending = (find_best_interrupt(&pic) != -1); + return; } if (find_best_interrupt(&pic) != -1) {