mirror of https://github.com/AxioDL/metaforce.git
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:
parent
d6b70f37c2
commit
027c10464f
|
@ -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