mac128: Don't write twice to VIA in one cycle (nw)

This might be correct behavior for Macs with 68020 and later CPUs that do dynamic bus sizing, but not the early 68000 systems.
This commit is contained in:
AJR 2019-04-24 20:59:10 -04:00
parent a9d57fe8e7
commit ac33cf2a2f

View File

@ -714,10 +714,7 @@ WRITE16_MEMBER ( mac128_state::mac_via_w )
if (LOG_VIA)
logerror("mac_via_w: offset=0x%02x data=0x%08x\n", offset, data);
if (ACCESSING_BITS_0_7)
m_via->write(offset, data & 0xff);
if (ACCESSING_BITS_8_15)
m_via->write(offset, (data >> 8) & 0xff);
m_via->write(offset, (data >> 8) & 0xff);
m_maincpu->adjust_icount(m_via_cycles);
}