mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
rtpc010, rtpc015: fixed crash soon after start
This commit is contained in:
parent
85794c7f85
commit
445b95a876
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user