Skip to content

Commit e6dc7ac

Browse files
committed
memcard progress
1 parent cb52e17 commit e6dc7ac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

decompile/WorkInProgress/src/MEMCARD/MEMCARD_17_HandleEvent.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,8 @@ int DECOMP_MEMCARD_HandleEvent(void)
209209
break;
210210
}
211211

212-
// at this point, assume checksum succeeded (return 1)
213-
214-
// THIS WILL NEVER HAPPEN
212+
// at this point, assume checksum failed (return 1),
213+
// if loading 2-block save, read again, then retry checksum
215214
if (((sdata->memcardStatusFlags & 4) == 0) && (sdata->memcard_stage < 7))
216215
{
217216
sdata->memcard_stage++;

0 commit comments

Comments
 (0)