namcos23: port b bit 6 is also an input, handle accordingly. Probably JVS. [O. Galibert]

Rapid River is back, yay :-)
This commit is contained in:
Olivier Galibert 2015-11-14 13:53:36 +01:00
parent 8c0d01d426
commit 1c0bcf1bb8

View File

@ -3055,7 +3055,7 @@ READ16_MEMBER(namcos23_state::mcu_pb_r)
WRITE16_MEMBER(namcos23_state::mcu_pb_w)
{
m_sub_portb = (m_sub_portb & 0x80) | (data & 0x7f);
m_sub_portb = (m_sub_portb & 0xc0) | (data & 0x3f);
m_rtc->ce_w((m_sub_portb & 0x20) && (m_sub_porta & 1));
m_settings->ce_w((m_sub_portb & 0x20) && !(m_sub_porta & 1));
}