From 34b3107c925c74f8ca996f1a5e9e14b099f43fea Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Tue, 5 Jun 2018 10:38:54 +0200 Subject: bubsymphb segfault fix (nw) --- src/mame/drivers/taito_f3.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/taito_f3.cpp b/src/mame/drivers/taito_f3.cpp index ef3ead63b87..8b71cfa2cd0 100644 --- a/src/mame/drivers/taito_f3.cpp +++ b/src/mame/drivers/taito_f3.cpp @@ -454,7 +454,8 @@ void taito_f3_state::machine_start() void taito_f3_state::machine_reset() { /* start with sound m68k off, qtheater relies on it (otherwise main CPU tries to reset it while 68k is working with irq table vectors). */ - m_audiocpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE); + if(m_audiocpu) + m_audiocpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE); } MACHINE_CONFIG_START(taito_f3_state::f3) -- cgit v1.2.3