mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-25 03:56:54 +01:00
Fix saves for real
This commit is contained in:
parent
d3c5eabd17
commit
17132dd3e6
@ -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:
|
||||||
|
@ -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