mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-28 21:44:15 +01:00
Fix saves on ED64 (#7)
This commit is contained in:
parent
13756a9dd9
commit
034233547e
@ -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);
|
||||||
|
|
||||||
@ -133,8 +132,6 @@ static flashcart_err_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:
|
||||||
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user