mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user