diff --git a/src/flashcart/ed64/ed64.c b/src/flashcart/ed64/ed64.c index fe02f682..720a9917 100644 --- a/src/flashcart/ed64/ed64.c +++ b/src/flashcart/ed64/ed64.c @@ -278,21 +278,21 @@ static flashcart_err_t ed64_set_save_type (flashcart_save_type_t save_type) { case FLASHCART_SAVE_TYPE_NONE: type = SAVE_TYPE_NONE; break; - case FLASHCART_SAVE_TYPE_EEPROM_4K: + case FLASHCART_SAVE_TYPE_EEPROM_4KBIT: type = SAVE_TYPE_EEPROM_4K; break; - case FLASHCART_SAVE_TYPE_EEPROM_16K: + case FLASHCART_SAVE_TYPE_EEPROM_16KBIT: type = SAVE_TYPE_EEPROM_16K; break; - case FLASHCART_SAVE_TYPE_SRAM: + case FLASHCART_SAVE_TYPE_SRAM_256KBIT: type = SAVE_TYPE_SRAM; break; case FLASHCART_SAVE_TYPE_SRAM_BANKED: - case FLASHCART_SAVE_TYPE_SRAM_128K: + case FLASHCART_SAVE_TYPE_SRAM_1MBIT: type = SAVE_TYPE_SRAM_128K; break; case FLASHCART_SAVE_TYPE_FLASHRAM_PKST2: - case FLASHCART_SAVE_TYPE_FLASHRAM: + case FLASHCART_SAVE_TYPE_FLASHRAM_1MBIT: type = SAVE_TYPE_FLASHRAM; break; default: