2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 23:15:52 +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:
Lioncash 2019-09-24 16:36:41 -04:00
parent d6b70f37c2
commit 027c10464f

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;