Merge pull request #83 from lioncash/driver

CMemoryCardDriver: Correct erroneous fallthrough within HandleCardError
This commit is contained in:
Phillip Stephens 2019-09-26 06:54:46 -07:00 committed by GitHub
commit a914d5499a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;