mirror of https://github.com/mgba-emu/mgba.git
GBA Savedata: Fix 4 kiB EEPROM overrides (fixes #1251)
This commit is contained in:
parent
6442d17b4c
commit
3fb46a2a88
|
@ -226,6 +226,7 @@ void GBASavedataForceType(struct GBASavedata* savedata, enum SavedataType type)
|
||||||
break;
|
break;
|
||||||
case SAVEDATA_EEPROM:
|
case SAVEDATA_EEPROM:
|
||||||
case SAVEDATA_EEPROM512:
|
case SAVEDATA_EEPROM512:
|
||||||
|
savedata->type = type;
|
||||||
GBASavedataInitEEPROM(savedata);
|
GBASavedataInitEEPROM(savedata);
|
||||||
break;
|
break;
|
||||||
case SAVEDATA_SRAM:
|
case SAVEDATA_SRAM:
|
||||||
|
|
Loading…
Reference in New Issue