summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-09-05 19:44:40 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-09-05 19:44:43 -0400
commitf014baa540ef84cb045204b45bf6d39bb5de567f (patch)
tree115e8e2879d34db991f8e6f34adf21f78daca134
parent7151d25d2411498477e9ccea5b37d2d277395341 (diff)
twinfalc/whizz: Correct source of sound IRQ
-rw-r--r--src/mame/drivers/sidearms.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mame/drivers/sidearms.cpp b/src/mame/drivers/sidearms.cpp
index 57daf438900..5a689b8d816 100644
--- a/src/mame/drivers/sidearms.cpp
+++ b/src/mame/drivers/sidearms.cpp
@@ -701,7 +701,6 @@ void sidearms_state::whizz(machine_config &config)
Z80(config, m_audiocpu, 4000000);
m_audiocpu->set_addrmap(AS_PROGRAM, &sidearms_state::whizz_sound_map);
m_audiocpu->set_addrmap(AS_IO, &sidearms_state::whizz_io_map);
- m_audiocpu->set_vblank_int("screen", FUNC(sidearms_state::irq0_line_hold));
config.m_minimum_quantum = attotime::from_hz(60000);
@@ -725,10 +724,9 @@ void sidearms_state::whizz(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- GENERIC_LATCH_8(config, "soundlatch");
+ GENERIC_LATCH_8(config, "soundlatch").data_pending_callback().set_inputline(m_audiocpu, 0);
ym2151_device &ymsnd(YM2151(config, "ymsnd", 4000000));
- ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 1.0);
ymsnd.add_route(1, "mono", 1.0);
}