summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/psx/analogue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/psx/analogue.cpp')
-rw-r--r--src/devices/bus/psx/analogue.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/psx/analogue.cpp b/src/devices/bus/psx/analogue.cpp
index daf7a7f689f..61feefeb311 100644
--- a/src/devices/bus/psx/analogue.cpp
+++ b/src/devices/bus/psx/analogue.cpp
@@ -97,7 +97,7 @@ bool psx_analog_controller_device::get_pad(int count, uint8_t *odata, uint8_t id
case CONFIG_MODE: // 43
if(count == 3)
m_temp = idata;
- /* no break */
+ [[fallthrough]];
case QUERY_PAD_STATE: // 42
*odata = pad_data(count, true);
break;
@@ -142,7 +142,7 @@ bool psx_analog_controller_device::get_pad(int count, uint8_t *odata, uint8_t id
{
case 3:
m_temp = idata;
- /* no break */
+ [[fallthrough]];
default:
*odata = 0x00;
break;
@@ -181,7 +181,7 @@ bool psx_analog_controller_device::get_pad(int count, uint8_t *odata, uint8_t id
case 3:
if(m_cmd == CONFIG_MODE)
m_temp = idata;
- /* no break */
+ [[fallthrough]];
default:
*odata = pad_data(count, true);
break;
@@ -207,7 +207,7 @@ bool psx_analog_controller_device::get_pad(int count, uint8_t *odata, uint8_t id
case 3:
if(m_cmd == CONFIG_MODE)
m_temp = idata;
- /* no break */
+ [[fallthrough]];
default:
*odata = pad_data(count, false);
break;