diff options
Diffstat (limited to 'src/devices/machine/68340sim.cpp')
-rw-r--r-- | src/devices/machine/68340sim.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/machine/68340sim.cpp b/src/devices/machine/68340sim.cpp index 9f351cade15..7e1f8457224 100644 --- a/src/devices/machine/68340sim.cpp +++ b/src/devices/machine/68340sim.cpp @@ -241,6 +241,7 @@ uint8_t m68340_cpu_device::m68340_internal_sim_ports_r(offs_t offset) case m68340_sim::REG_PORTB1: LOGR("- %08x %s %04x (PORTB1 - Port B Data 1)\n", m_ppc, FUNCNAME, offset); // Fallthrough to mirror register + [[fallthrough]]; case m68340_sim::REG_PORTB: LOGR("- %08x %s %04x (PORTB - Port B Data 0)\n", m_ppc, FUNCNAME, offset); sim.m_portb &= sim.m_ddrb; @@ -317,6 +318,7 @@ void m68340_cpu_device::m68340_internal_sim_ports_w(offs_t offset, uint8_t data) case m68340_sim::REG_PORTB1: LOGDATA("- %08x %04x, %02x (PORTB1 - Port B Data - mirror)\n", m_ppc, offset,data); // Falling through to mirrored register portb + [[fallthrough]]; case m68340_sim::REG_PORTB: LOGDATA("- %08x %04x, %02x (PORTB - Port B Data)\n", m_ppc, offset,data); sim.m_portb = (data & sim.m_ddrb & sim.m_pparb); |