hd63450: Update IRQ output when enable bit changes (nw)

This commit is contained in:
AJR 2019-04-19 17:06:25 -04:00
parent b17e76d105
commit 2529e1432a

View File

@ -206,6 +206,10 @@ WRITE16_MEMBER(hd63450_device::write)
dma_transfer_halt(channel);
if (data & 0x0040) // continure operation
dma_transfer_continue(channel);
if ((data & 0x0008) == 0)
clear_irq(channel);
else if ((m_reg[channel].csr & 0xf2) != 0)
set_irq(channel);
LOG("DMA#%i: Channel Control write : %02x\n",channel,m_reg[channel].ccr);
}
break;