summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-05-16 22:19:35 -0400
committer AJR <ajrhacker@users.noreply.github.com>2022-05-16 22:19:35 -0400
commitc504690af5dc9c977584e052c88a0849a387cc23 (patch)
tree6bd29815ab339b7abd03ef1a5418e850d25ac293
parentbe98431a8c526a34df5b767ad426c4ee6ea8b63e (diff)
cpu16.cpp: Fix fallthrough attribute
-rw-r--r--src/devices/cpu/m68hc16/cpu16.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/cpu/m68hc16/cpu16.cpp b/src/devices/cpu/m68hc16/cpu16.cpp
index 91d2f33168c..e8c7b6f36df 100644
--- a/src/devices/cpu/m68hc16/cpu16.cpp
+++ b/src/devices/cpu/m68hc16/cpu16.cpp
@@ -782,7 +782,7 @@ void cpu16_device::pshm_step(int n)
m_tmp = m_d;
break;
}
- [[fall_through]];
+ [[fallthrough]];
case 1:
if (BIT(m_fetch_pipe[2], 1))
@@ -791,7 +791,7 @@ void cpu16_device::pshm_step(int n)
m_tmp = m_e;
break;
}
- [[fall_through]];
+ [[fallthrough]];
case 2:
if (BIT(m_fetch_pipe[2], 2))
@@ -800,7 +800,7 @@ void cpu16_device::pshm_step(int n)
m_tmp = get_ix(0);
break;
}
- [[fall_through]];
+ [[fallthrough]];
case 3:
if (BIT(m_fetch_pipe[2], 3))
@@ -809,7 +809,7 @@ void cpu16_device::pshm_step(int n)
m_tmp = get_ix(1);
break;
}
- [[fall_through]];
+ [[fallthrough]];
case 4:
if (BIT(m_fetch_pipe[2], 4))
@@ -818,7 +818,7 @@ void cpu16_device::pshm_step(int n)
m_tmp = get_ix(2);
break;
}
- [[fall_through]];
+ [[fallthrough]];
case 5:
if (BIT(m_fetch_pipe[2], 5))
@@ -827,7 +827,7 @@ void cpu16_device::pshm_step(int n)
m_tmp = get_k();
break;
}
- [[fall_through]];
+ [[fallthrough]];
case 6:
if (BIT(m_fetch_pipe[2], 6))
@@ -836,7 +836,7 @@ void cpu16_device::pshm_step(int n)
m_tmp = m_ccr;
break;
}
- [[fall_through]];
+ [[fallthrough]];
default:
m_sequence = seq::PSHM_8;