diff --git a/src/gba/overrides.c b/src/gba/overrides.c index 7227404b7..675b2d471 100644 --- a/src/gba/overrides.c +++ b/src/gba/overrides.c @@ -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;