diff --git a/src/flashcart/ed64/ed64.c b/src/flashcart/ed64/ed64.c index 15824248..4869b912 100644 --- a/src/flashcart/ed64/ed64.c +++ b/src/flashcart/ed64/ed64.c @@ -12,7 +12,6 @@ #include "ed64_ll.h" #include "ed64.h" -#define EEPROM_ADDRESS (0x1FFE2000) extern int ed_exit(void); @@ -125,8 +124,6 @@ static flashcart_error_t ed64_load_save (char *save_path) { switch (type) { case SAVE_TYPE_EEPROM_4K: case SAVE_TYPE_EEPROM_16K: - address = (void *) (EEPROM_ADDRESS); - break; case SAVE_TYPE_SRAM: case SAVE_TYPE_SRAM_128K: case SAVE_TYPE_FLASHRAM: diff --git a/src/flashcart/ed64/ed64_ll.h b/src/flashcart/ed64/ed64_ll.h index 0faa635d..1e8f3cf0 100644 --- a/src/flashcart/ed64/ed64_ll.h +++ b/src/flashcart/ed64/ed64_ll.h @@ -30,7 +30,7 @@ typedef enum { } ed64_save_type_t; -#define SRAM_ADDRESS (0xA8000000) +#define SRAM_ADDRESS (0x1FFE2000) #define ROM_ADDRESS (0xB0000000) /* Save functions */