rtpc010, rtpc015: fixed crash soon after start

This commit is contained in:
Robbbert 2021-01-15 12:41:25 +11:00
parent 85794c7f85
commit 445b95a876

View File

@ -427,7 +427,7 @@ void rtpc_state::crrb_w(u8 data)
// 6 reserved
// 7 reserved
if (BIT(data, 0))
if (m_scc && BIT(data, 0))
m_scc->reset();
// TODO: rs232 if
m_mcu->set_input_line(INPUT_LINE_RESET, !BIT(data, 2));