And another.

This commit is contained in:
OBattler
2023-10-01 17:33:53 +02:00
parent b03df6bdd1
commit ed119ed163

View File

@@ -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);