From ed119ed1638430226d05c2f1605b87e27b4096b0 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 1 Oct 2023 17:33:53 +0200 Subject: [PATCH] And another. --- src/pic.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pic.c b/src/pic.c index cb0e31641..745774c9d 100644 --- a/src/pic.c +++ b/src/pic.c @@ -238,12 +238,12 @@ pic_update_pending_at(void) { if (!(pic2.interrupt & 0x20)) { pic2.int_pending = (find_best_interrupt(&pic2) != -1); - - if (pic2.int_pending) - pic.irr |= (1 << pic2.icw3); - else - pic.irr &= ~(1 << pic2.icw3); } + + if (pic2.int_pending) + pic.irr |= (1 << pic2.icw3); + else + pic.irr &= ~(1 << pic2.icw3); if (!(pic.interrupt & 0x20)) pic.int_pending = (find_best_interrupt(&pic) != -1);