summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mazerbla.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mazerbla.cpp')
-rw-r--r--src/mame/drivers/mazerbla.cpp7
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++)
{