mirror of
https://github.com/holub/mame
synced 2025-04-16 13:34:55 +03:00
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)
This commit is contained in:
parent
73153c3387
commit
db284904b2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user