diff options
author | 2016-05-27 11:24:59 +0200 | |
---|---|---|
committer | 2016-05-27 11:24:59 +0200 | |
commit | db284904b23ab1d70139327ce8d77836f64ece92 (patch) | |
tree | 36a7a7c7742004f0c83f92425bd5bc3bc10f34ee | |
parent | 73153c3387a8f0bc628b8f0ee3a63ba8bb6717e8 (diff) |
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)
-rw-r--r-- | src/mame/video/megasys1.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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); |