diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2019-07-10 03:36:24 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2019-07-10 03:36:24 +1000 |
commit | f8accd506d9f0c3bab798d52edd9d230e60dbb4f (patch) | |
tree | 4e49a5cf90cafc6b427bca01ed37e308b0370d8d | |
parent | 5e4d4a444a089754b06244f1a72b3251e6e223c4 (diff) |
(nw) mato: fixed crash, oops
-rw-r--r-- | src/mame/machine/pmd85.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |