mirror of https://github.com/mgba-emu/mgba.git
GBA: Add EEPROM512 to overrides
This commit is contained in:
parent
b33c5076ad
commit
32279c37b1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue