From 71d4c4837fff5210725c23f115fae80ad9d4f30c Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 3 Oct 2023 19:39:28 +0200 Subject: [PATCH] Revert to not updating pending IRQ's if the request results in no effective change. --- src/pic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pic.c b/src/pic.c index 56cd2d12e..069ebb01e 100644 --- a/src/pic.c +++ b/src/pic.c @@ -738,9 +738,9 @@ picint_common(uint16_t num, int level, int set, uint8_t *irq_state) pic.irr &= ~(num & 0x00ff); } } - } - update_pending(); + update_pending(); + } } static uint8_t