mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 07:39:56 -06:00
Add a framework to support non-SRAM GBA saves
The support is not yet there, but at least we should not read or write bogus data.
This commit is contained in:
@ -29,6 +29,10 @@ namespace GBACart_SRAM
|
||||
extern u8* SRAM;
|
||||
extern u32 SRAMLength;
|
||||
|
||||
u8 Read8(u32 addr);
|
||||
u16 Read16(u32 addr);
|
||||
u32 Read32(u32 addr);
|
||||
|
||||
void Write8(u32 addr, u8 val);
|
||||
void Write16(u32 addr, u16 val);
|
||||
void Write32(u32 addr, u32 val);
|
||||
|
Reference in New Issue
Block a user