GBA: Add EEPROM512 to overrides
Vicki Pfau vi@endrift.com
Sun, 04 Nov 2018 15:59:57 -0800
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
src/gba/overrides.c
→
src/gba/overrides.c
@@ -223,6 +223,9 @@ override->savetype = SAVEDATA_SRAM;
} 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;@@ -266,6 +269,9 @@ savetype = "SRAM";
break; case SAVEDATA_EEPROM: savetype = "EEPROM"; + break; + case SAVEDATA_EEPROM512: + savetype = "EEPROM512"; break; case SAVEDATA_FLASH512: savetype = "FLASH512";