mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #83 from lioncash/driver
CMemoryCardDriver: Correct erroneous fallthrough within HandleCardError
This commit is contained in:
commit
a914d5499a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue