hd63450: unhalt cpu if a dma bus error occurs

This commit is contained in:
cracyc 2021-06-25 21:02:42 -05:00
parent 506ddeecee
commit d0458b0c7d

View File

@ -520,6 +520,8 @@ void hd63450_device::set_error(int channel, uint8_t code)
m_reg[channel].cer = code;
m_reg[channel].ccr &= ~0xc0;
if (((m_reg[channel].dcr & 0xc0) == 0x00) || ((m_reg[channel].ocr & 3) == 1))
m_cpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); // if the cpu is halted resume it
set_irq(channel);
}