diff --git a/pcsx2/MemoryCardProtocol.cpp b/pcsx2/MemoryCardProtocol.cpp index ab4ca68622..9992310a5b 100644 --- a/pcsx2/MemoryCardProtocol.cpp +++ b/pcsx2/MemoryCardProtocol.cpp @@ -292,6 +292,7 @@ u8 MemoryCardProtocol::PS1Read(u8 data) case 10: ps1McState.checksum = ps1McState.sectorAddrMSB ^ ps1McState.sectorAddrLSB; mcd->Read(ps1McState.buf.data(), ps1McState.buf.size()); + [[fallthrough]]; default: ret = ps1McState.buf.at(ps1McState.currentByte - 10); ps1McState.checksum ^= ret; @@ -369,6 +370,7 @@ u8 MemoryCardProtocol::PS1Write(u8 data) break; case 6: ps1McState.checksum = ps1McState.sectorAddrMSB ^ ps1McState.sectorAddrLSB; + [[fallthrough]]; default: ps1McState.buf.at(ps1McState.currentByte - 6) = data; ps1McState.checksum ^= data;