mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
hd63450: unhalt cpu if a dma bus error occurs
This commit is contained in:
parent
506ddeecee
commit
d0458b0c7d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user