Fix saves on ED64 (#7)

This commit is contained in:
ariahiro64 2023-10-10 17:54:55 -04:00 committed by GitHub
parent 13756a9dd9
commit 034233547e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -12,7 +12,6 @@
#include "ed64_ll.h"
#include "ed64.h"
#define EEPROM_ADDRESS (0x1FFE2000)
extern int ed_exit(void);
@ -133,8 +132,6 @@ static flashcart_err_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:

View File

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