From 3fb46a2a8832c383429fd65c00ba3e642c750bcf Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 29 Dec 2018 23:08:09 -0800 Subject: [PATCH] GBA Savedata: Fix 4 kiB EEPROM overrides (fixes #1251) --- src/gba/savedata.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gba/savedata.c b/src/gba/savedata.c index 10f9499fa..0c8207b3a 100644 --- a/src/gba/savedata.c +++ b/src/gba/savedata.c @@ -226,6 +226,7 @@ void GBASavedataForceType(struct GBASavedata* savedata, enum SavedataType type) break; case SAVEDATA_EEPROM: case SAVEDATA_EEPROM512: + savedata->type = type; GBASavedataInitEEPROM(savedata); break; case SAVEDATA_SRAM: