From 89f8873df366a99dfdf40347f72e68763fb50bd9 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 5 Mar 2023 14:21:47 -0800 Subject: [PATCH] GBA Saveata: Fix fumbled check --- src/gba/savedata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/savedata.c b/src/gba/savedata.c index 7097e4a63..2d377a875 100644 --- a/src/gba/savedata.c +++ b/src/gba/savedata.c @@ -184,7 +184,7 @@ size_t GBASavedataSize(const struct GBASavedata* savedata) { bool GBASavedataLoad(struct GBASavedata* savedata, struct VFile* in) { if (savedata->data) { - if (!in || savedata->type != SAVEDATA_FORCE_NONE) { + if (!in || savedata->type == SAVEDATA_FORCE_NONE) { return false; } ssize_t size = GBASavedataSize(savedata);