summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-08-29 02:05:23 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-08-29 02:05:23 -0400
commitc361e535145cdde44d766702b4c8d661f4700cbb (patch)
treea0aa1bfe2279cde3131a96dd799c754f62c35238
parentfd1c951c34fbc01fe56583ecf4a1448d5a680b43 (diff)
karnov.cpp: Use MCFG_GENERIC_LATCH_DATA_PENDING_CB for soundlatch (nw)
-rw-r--r--src/mame/drivers/karnov.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/karnov.cpp b/src/mame/drivers/karnov.cpp
index 36b56e79ee0..19eba35427a 100644
--- a/src/mame/drivers/karnov.cpp
+++ b/src/mame/drivers/karnov.cpp
@@ -367,7 +367,6 @@ WRITE16_MEMBER(karnov_state::karnov_control_w)
case 2: /* SONREQ (Sound CPU byte) */
m_soundlatch->write(space, 0, data & 0xff);
- m_audiocpu->set_input_line(INPUT_LINE_NMI, PULSE_LINE);
break;
case 4: /* DM (DMA to buffer spriteram) */
@@ -838,6 +837,7 @@ static MACHINE_CONFIG_START( karnov )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
+ MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
MCFG_SOUND_ADD("ym1", YM2203, 1500000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)