GBA: Add EEPROM512 to overrides

This commit is contained in:
Vicki Pfau 2018-11-04 15:59:57 -08:00
parent b33c5076ad
commit 32279c37b1

View File

@ -223,6 +223,9 @@ bool GBAOverrideFind(const struct Configuration* config, struct GBACartridgeOver
} else if (strcasecmp(savetype, "EEPROM") == 0) {
found = true;
override->savetype = SAVEDATA_EEPROM;
} else if (strcasecmp(savetype, "EEPROM512") == 0) {
found = true;
override->savetype = SAVEDATA_EEPROM512;
} else if (strcasecmp(savetype, "FLASH512") == 0) {
found = true;
override->savetype = SAVEDATA_FLASH512;
@ -267,6 +270,9 @@ void GBAOverrideSave(struct Configuration* config, const struct GBACartridgeOver
case SAVEDATA_EEPROM:
savetype = "EEPROM";
break;
case SAVEDATA_EEPROM512:
savetype = "EEPROM512";
break;
case SAVEDATA_FLASH512:
savetype = "FLASH512";
break;