remove duplicate 'via_assess_irq' lines

This commit is contained in:
Jeff Epler 2025-03-22 12:32:44 -05:00
parent 697c8859c6
commit 47b254f58e

View file

@ -243,7 +243,6 @@ void via_write(unsigned int address, uint8_t data)
} }
// writing T2CH clears associated IRQ flag // writing T2CH clears associated IRQ flag
irq_active &= ~VIA_IRQ_T2; irq_active &= ~VIA_IRQ_T2;
via_assess_irq();
break; break;
case VIA_T2CL: case VIA_T2CL:
VDBG("VIA T2CL %02x [ACR=%02x]\n", data, via_regs[VIA_ACR]); VDBG("VIA T2CL %02x [ACR=%02x]\n", data, via_regs[VIA_ACR]);
@ -313,7 +312,6 @@ uint8_t via_read(unsigned int address)
data = via_t2c & 0xff; data = via_t2c & 0xff;
// reading T2LL clears associated IRQ flag // reading T2LL clears associated IRQ flag
irq_active &= ~VIA_IRQ_T2; irq_active &= ~VIA_IRQ_T2;
via_assess_irq();
break; break;
default: default:
VDBG("[VIA: unhandled RD of %s (reg 0x%x)]\n", rname, r); VDBG("[VIA: unhandled RD of %s (reg 0x%x)]\n", rname, r);