From 2338d398fc118a8432bc830c8f29d495bf469ff2 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Mon, 28 Oct 2013 17:22:38 +0000 Subject: [PATCH] MT #05341, assuming that m68k is off by default --- src/mame/drivers/taito_f3.c | 7 +++++++ src/mame/includes/taito_f3.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/mame/drivers/taito_f3.c b/src/mame/drivers/taito_f3.c index 61277554cea..51a53b8401e 100644 --- a/src/mame/drivers/taito_f3.c +++ b/src/mame/drivers/taito_f3.c @@ -424,6 +424,12 @@ MACHINE_START_MEMBER(taito_f3_state,f3) save_item(NAME(m_coin_word)); } +MACHINE_RESET_MEMBER(taito_f3_state,f3) +{ + /* 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); +} + static MACHINE_CONFIG_START( f3, taito_f3_state ) /* basic machine hardware */ @@ -432,6 +438,7 @@ static MACHINE_CONFIG_START( f3, taito_f3_state ) MCFG_CPU_VBLANK_INT_DRIVER("screen", taito_f3_state, f3_interrupt2) MCFG_MACHINE_START_OVERRIDE(taito_f3_state,f3) + MCFG_MACHINE_RESET_OVERRIDE(taito_f3_state,f3) MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") diff --git a/src/mame/includes/taito_f3.h b/src/mame/includes/taito_f3.h index 1231fb421a1..580c1c9fb71 100644 --- a/src/mame/includes/taito_f3.h +++ b/src/mame/includes/taito_f3.h @@ -279,6 +279,7 @@ public: TILE_GET_INFO_MEMBER(get_tile_info_vram); TILE_GET_INFO_MEMBER(get_tile_info_pixel); DECLARE_MACHINE_START(f3); + DECLARE_MACHINE_RESET(f3); DECLARE_VIDEO_START(f3); UINT32 screen_update_f3(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); void screen_eof_f3(screen_device &screen, bool state);