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).
This commit is contained in:
Lioncash 2019-09-24 16:36:41 -04:00
parent d6b70f37c2
commit 027c10464f
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ void CMemoryCardDriver::HandleCardError(ECardResult result, EState state) {
case ECardResult::IOERROR: case ECardResult::IOERROR:
x10_state = state; x10_state = state;
x14_error = EError::CardIOError; x14_error = EError::CardIOError;
[[fallthrough]]; break;
case ECardResult::ENCODING: case ECardResult::ENCODING:
x10_state = state; x10_state = state;
x14_error = EError::CardWrongCharacterSet; x14_error = EError::CardWrongCharacterSet;