Skip to content

Commit

Permalink
Fix saves on ED64 (Polprzewodnikowy#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariahiro64 authored Oct 10, 2023
1 parent 13756a9 commit 0342335
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/flashcart/ed64/ed64.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "ed64_ll.h"
#include "ed64.h"

#define EEPROM_ADDRESS (0x1FFE2000)

extern int ed_exit(void);

Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/flashcart/ed64/ed64_ll.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ typedef enum {
} ed64_save_type_t;


#define SRAM_ADDRESS (0xA8000000)
#define SRAM_ADDRESS (0x1FFE2000)
#define ROM_ADDRESS (0xB0000000)

/* Save functions */
Expand Down

0 comments on commit 0342335

Please sign in to comment.