From 027c10464f786dffc6c61f2f91dbf54036fbe5bb Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 24 Sep 2019 16:36:41 -0400 Subject: [PATCH] CMemoryCardDriver: Correct erroneous fallthrough within HandleCardError() In the game executable itself, there exists no fallthrough here (which makes sense, given all IO errors would be reported as character set errors, otherwise). --- Runtime/MP1/CMemoryCardDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/MP1/CMemoryCardDriver.cpp b/Runtime/MP1/CMemoryCardDriver.cpp index ccbc08a4b..eb19c9d91 100644 --- a/Runtime/MP1/CMemoryCardDriver.cpp +++ b/Runtime/MP1/CMemoryCardDriver.cpp @@ -709,7 +709,7 @@ void CMemoryCardDriver::HandleCardError(ECardResult result, EState state) { case ECardResult::IOERROR: x10_state = state; x14_error = EError::CardIOError; - [[fallthrough]]; + break; case ECardResult::ENCODING: x10_state = state; x14_error = EError::CardWrongCharacterSet;