Fix saves for real

This commit is contained in:
ariahiro64 2023-10-10 20:49:29 +00:00
parent d3c5eabd17
commit 17132dd3e6
2 changed files with 1 additions and 4 deletions

View File

@ -12,7 +12,6 @@
#include "ed64_ll.h" #include "ed64_ll.h"
#include "ed64.h" #include "ed64.h"
#define EEPROM_ADDRESS (0x1FFE2000)
extern int ed_exit(void); extern int ed_exit(void);
@ -125,8 +124,6 @@ static flashcart_error_t ed64_load_save (char *save_path) {
switch (type) { switch (type) {
case SAVE_TYPE_EEPROM_4K: case SAVE_TYPE_EEPROM_4K:
case SAVE_TYPE_EEPROM_16K: case SAVE_TYPE_EEPROM_16K:
address = (void *) (EEPROM_ADDRESS);
break;
case SAVE_TYPE_SRAM: case SAVE_TYPE_SRAM:
case SAVE_TYPE_SRAM_128K: case SAVE_TYPE_SRAM_128K:
case SAVE_TYPE_FLASHRAM: case SAVE_TYPE_FLASHRAM:

View File

@ -30,7 +30,7 @@ typedef enum {
} ed64_save_type_t; } ed64_save_type_t;
#define SRAM_ADDRESS (0xA8000000) #define SRAM_ADDRESS (0x1FFE2000)
#define ROM_ADDRESS (0xB0000000) #define ROM_ADDRESS (0xB0000000)
/* Save functions */ /* Save functions */