Update ed64.c

Save corrections
This commit is contained in:
Robin Jones 2024-08-04 21:17:22 +01:00
parent 8ced9660d8
commit 717db39bb0

View File

@ -278,21 +278,21 @@ static flashcart_err_t ed64_set_save_type (flashcart_save_type_t save_type) {
case FLASHCART_SAVE_TYPE_NONE: case FLASHCART_SAVE_TYPE_NONE:
type = SAVE_TYPE_NONE; type = SAVE_TYPE_NONE;
break; break;
case FLASHCART_SAVE_TYPE_EEPROM_4K: case FLASHCART_SAVE_TYPE_EEPROM_4KBIT:
type = SAVE_TYPE_EEPROM_4K; type = SAVE_TYPE_EEPROM_4K;
break; break;
case FLASHCART_SAVE_TYPE_EEPROM_16K: case FLASHCART_SAVE_TYPE_EEPROM_16KBIT:
type = SAVE_TYPE_EEPROM_16K; type = SAVE_TYPE_EEPROM_16K;
break; break;
case FLASHCART_SAVE_TYPE_SRAM: case FLASHCART_SAVE_TYPE_SRAM_256KBIT:
type = SAVE_TYPE_SRAM; type = SAVE_TYPE_SRAM;
break; break;
case FLASHCART_SAVE_TYPE_SRAM_BANKED: case FLASHCART_SAVE_TYPE_SRAM_BANKED:
case FLASHCART_SAVE_TYPE_SRAM_128K: case FLASHCART_SAVE_TYPE_SRAM_1MBIT:
type = SAVE_TYPE_SRAM_128K; type = SAVE_TYPE_SRAM_128K;
break; break;
case FLASHCART_SAVE_TYPE_FLASHRAM_PKST2: case FLASHCART_SAVE_TYPE_FLASHRAM_PKST2:
case FLASHCART_SAVE_TYPE_FLASHRAM: case FLASHCART_SAVE_TYPE_FLASHRAM_1MBIT:
type = SAVE_TYPE_FLASHRAM; type = SAVE_TYPE_FLASHRAM;
break; break;
default: default: