From 5ff5cbe7b1bceb8c87674b647f3b0ff189d5ed43 Mon Sep 17 00:00:00 2001 From: tustin2121 Date: Wed, 24 Jan 2024 11:39:24 -0500 Subject: [PATCH] else if --- How-to-Support-Savefile-Backwards-Compatibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/How-to-Support-Savefile-Backwards-Compatibility.md b/How-to-Support-Savefile-Backwards-Compatibility.md index 564efcb..c2b0f68 100644 --- a/How-to-Support-Savefile-Backwards-Compatibility.md +++ b/How-to-Support-Savefile-Backwards-Compatibility.md @@ -128,7 +128,7 @@ In `src/save.c`, the `LoadGameSave` function will call to `TryLoadSaveSlot`, and + if (status == SAVE_STATUS_OK) { + if (gSaveBlock2Ptr->_saveSentinel != 0xFF) + status = SAVE_STATUS_OUTDATED; -+ if (gSaveBlock2Ptr->saveVersion != SAVE_VERSION) ++ else if (gSaveBlock2Ptr->saveVersion != SAVE_VERSION) + status = SAVE_STATUS_OUTDATED; + } +