From f8accd506d9f0c3bab798d52edd9d230e60dbb4f Mon Sep 17 00:00:00 2001 From: Robbbert Date: Wed, 10 Jul 2019 03:36:24 +1000 Subject: (nw) mato: fixed crash, oops --- src/mame/machine/pmd85.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mame/machine/pmd85.cpp b/src/mame/machine/pmd85.cpp index 4c6ca3896d3..faa9fcf8d73 100644 --- a/src/mame/machine/pmd85.cpp +++ b/src/mame/machine/pmd85.cpp @@ -827,5 +827,6 @@ void pmd85_state::machine_reset() m_startup_mem_map = 1; (this->*update_memory)(); - m_uart->write_cts(0); + if (m_uart) + m_uart->write_cts(0); } -- cgit v1.2.3