From ac33cf2a2f18176da31142c103f619aa58871b7f Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 24 Apr 2019 20:59:10 -0400 Subject: [PATCH] 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. --- src/mame/drivers/mac128.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mame/drivers/mac128.cpp b/src/mame/drivers/mac128.cpp index 9d30ed6c58f..339d1baba75 100644 --- a/src/mame/drivers/mac128.cpp +++ b/src/mame/drivers/mac128.cpp @@ -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); }