mirror of
https://github.com/holub/mame
synced 2025-07-07 10:58:41 +03:00
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:
parent
a9d57fe8e7
commit
ac33cf2a2f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user