From db284904b23ab1d70139327ce8d77836f64ece92 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Fri, 27 May 2016 11:24:59 +0200 Subject: [PATCH] megasys1.cpp (system Z hardware games): fixed sound regression from 0.171. System Z games use a Z80 as sound cpu instead of a m68k. In 0.171 the input lines' enumeration for z80 was changed and this wasn't updated (nw) --- src/mame/video/megasys1.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mame/video/megasys1.cpp b/src/mame/video/megasys1.cpp index f140b29d717..6609f673920 100644 --- a/src/mame/video/megasys1.cpp +++ b/src/mame/video/megasys1.cpp @@ -447,7 +447,10 @@ WRITE16_MEMBER(megasys1_state::megasys1_vregs_A_w) break; case 0x308/2 : soundlatch_word_w(space,0,new_data,0xffff); - m_audiocpu->set_input_line(4, HOLD_LINE); + if (!m_hardware_type_z) + m_audiocpu->set_input_line(4, HOLD_LINE); + else + m_audiocpu->set_input_line(5, HOLD_LINE); break; default : SHOW_WRITE_ERROR("vreg %04X <- %04X",offset*2,data);