diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-09-05 01:31:29 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-09-05 01:31:29 -0400 |
commit | 37db5be46434728fb830d73ace0e6969e57aa6f5 (patch) | |
tree | 158dcfef9a5aa628fce3406750ae45d158015c78 | |
parent | 09030391696de52ee5920401b2c77d22602a7a8d (diff) |
Don't break mazerbla (nw)
-rw-r--r-- | src/mame/drivers/mazerbla.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/drivers/mazerbla.cpp b/src/mame/drivers/mazerbla.cpp index 23673eade46..0879432ba26 100644 --- a/src/mame/drivers/mazerbla.cpp +++ b/src/mame/drivers/mazerbla.cpp @@ -1440,8 +1440,11 @@ void mazerbla_state::machine_reset() m_bcd_7445 = 0; m_vsb_ls273 = 0; - m_soundlatch->clear_w(machine().dummy_space(), 0, 0); - m_soundlatch->acknowledge_w(machine().dummy_space(), 0, 0); + if (m_soundlatch.found()) + { + m_soundlatch->clear_w(machine().dummy_space(), 0, 0); + m_soundlatch->acknowledge_w(machine().dummy_space(), 0, 0); + } for (i = 0; i < 4; i++) { |