summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2021-01-15 12:41:25 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2021-01-15 12:41:25 +1100
commit445b95a876464421152ea96df474c2e5992759c8 (patch)
treed0c3bf06e55ff1c0389970d2426040ab4f9d70d2 /src/mame/drivers
parent85794c7f851ec9157b1139a58ec325d4d33d245d (diff)
rtpc010, rtpc015: fixed crash soon after start
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/rtpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/rtpc.cpp b/src/mame/drivers/rtpc.cpp
index 79e0fcd29a7..e3f0bb5d1b5 100644
--- a/src/mame/drivers/rtpc.cpp
+++ b/src/mame/drivers/rtpc.cpp
@@ -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));