diff --git a/inc/everdrive.h b/inc/everdrive.h index bb1a406d..b52007a1 100644 --- a/inc/everdrive.h +++ b/inc/everdrive.h @@ -22,6 +22,7 @@ #define SAVE_TYPE_EEP4k 3 #define SAVE_TYPE_EEP16k 4 #define SAVE_TYPE_FLASH 5 +#define SAVE_TYPE_SRAM768 6 #define DMA_BUFF_ADDR (ROM_LEN - 0x100000) #define REG_CFG 0 diff --git a/inc/localevar.h b/inc/localevar.h index d79ea2fe..e09262fe 100644 --- a/inc/localevar.h +++ b/inc/localevar.h @@ -9,6 +9,7 @@ char *plgmp3; char *savemem; char *save32; char *save128; +char *save768; char *save4k; char *save16k; char *saveflash; diff --git a/inc/rom.h b/inc/rom.h index d800748c..4aa74075 100644 --- a/inc/rom.h +++ b/inc/rom.h @@ -130,6 +130,7 @@ #define SAVE_SIZE_SRAM 32768 #define SAVE_SIZE_SRAM128 131072 +#define SAVE_SIZE_SRAM768 98304 #define SAVE_SIZE_EEP4k 512 #define SAVE_SIZE_EEP16k 2048 #define SAVE_SIZE_FLASH 131072 diff --git a/inc/utils.h b/inc/utils.h index 8e2e891b..6a2f51e3 100644 --- a/inc/utils.h +++ b/inc/utils.h @@ -46,6 +46,7 @@ int pushSaveToCart(int stype, uint8_t *buffer); int getSRAM( uint8_t *buffer,int size); int getSRAM32( uint8_t *buffer); int getSRAM128( uint8_t *buffer); +int getSRAM768( uint8_t *buffer); int getEeprom4k( uint8_t *buffer); int getEeprom16k( uint8_t *buffer); int getFlashRAM( uint8_t *buffer); @@ -53,6 +54,7 @@ int getFlashRAM( uint8_t *buffer); int setSRAM(uint8_t *buffer,int size); int setSRAM32( uint8_t *buffer); int setSRAM128( uint8_t *buffer); +int setSRAM768( uint8_t *buffer); int setEeprom4k( uint8_t *buffer); int setEeprom16k( uint8_t *buffer); int setFlashRAM( uint8_t *buffer);