summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-12-15 19:59:32 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-12-15 19:59:32 -0500
commitce07b7377c82137beb3e31f7685d5b712971a97e (patch)
treee59011fd79d50a06ae4677ad08778dc5e47de929
parentead56e514edb01fae68ba406c4b14dd638deb55d (diff)
stfight: Fix ADPCM (nw)
-rw-r--r--src/mame/machine/stfight.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/machine/stfight.cpp b/src/mame/machine/stfight.cpp
index 844e8e53c30..f7b673686b8 100644
--- a/src/mame/machine/stfight.cpp
+++ b/src/mame/machine/stfight.cpp
@@ -168,6 +168,9 @@ WRITE8_MEMBER(stfight_state::stfight_coin_w)
WRITE_LINE_MEMBER(stfight_state::stfight_adpcm_int)
{
+ if (!state)
+ return;
+
// Falling edge triggered interrupt at half the rate of /VCK?
m_mcu->set_input_line(M68705_IRQ_LINE, m_vck2 ? ASSERT_LINE : CLEAR_LINE);
m_vck2 = !m_vck2;