all repos — mgba @ 32279c37b1512f579208ee6d700045ad6031f6c7

mGBA Game Boy Advance Emulator

GBA: Add EEPROM512 to overrides
Vicki Pfau vi@endrift.com
Sun, 04 Nov 2018 15:59:57 -0800
commit

32279c37b1512f579208ee6d700045ad6031f6c7

parent

b33c5076ad31a3a08c77d35fc490d0f1771811f8

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M src/gba/overrides.csrc/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";