diff options
author | FIX94 <fix94.1@gmail.com> | 2016-04-08 23:10:13 +0200 |
---|---|---|
committer | FIX94 <fix94.1@gmail.com> | 2016-04-08 23:10:13 +0200 |
commit | 2fdb5e638e023408697be8950e776e8f8ffd2590 (patch) | |
tree | ed9d04ded678e3e8af685221a8409d508455d918 /gba/source/libSave.h | |
parent | 95b6910184d576e64ace469b9845b96b5a1d9f2d (diff) | |
download | gen3uploader-2fdb5e638e023408697be8950e776e8f8ffd2590.tar.gz gen3uploader-2fdb5e638e023408697be8950e776e8f8ffd2590.tar.bz2 gen3uploader-2fdb5e638e023408697be8950e776e8f8ffd2590.zip |
added experimental save support (only tested with EEPROM)
Diffstat (limited to 'gba/source/libSave.h')
-rw-r--r-- | gba/source/libSave.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gba/source/libSave.h b/gba/source/libSave.h new file mode 100644 index 0000000..5ecf822 --- /dev/null +++ b/gba/source/libSave.h | |||
@@ -0,0 +1,27 @@ | |||
1 | |||
2 | |||
3 | //--------------------------------------------------------------------------------- | ||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | //--------------------------------------------------------------------------------- | ||
8 | |||
9 | void GetSave_EEPROM_512B(u8* data); | ||
10 | void PutSave_EEPROM_512B(u8* data); | ||
11 | void GetSave_EEPROM_8KB(u8* data); | ||
12 | void PutSave_EEPROM_8KB(u8* data); | ||
13 | void GetSave_SRAM_32KB(u8* data); | ||
14 | void PutSave_SRAM_32KB(u8* data); | ||
15 | void GetSave_FLASH_64KB(u8* data); | ||
16 | void PutSave_FLASH_64KB(u8* foo); | ||
17 | void GetSave_FLASH_128KB(u8* data); | ||
18 | void PutSave_FLASH_128KB(u8* foo); | ||
19 | |||
20 | u32 SaveSize(u8* data, s32 gamesize); | ||
21 | |||
22 | |||
23 | //--------------------------------------------------------------------------------- | ||
24 | #ifdef __cplusplus | ||
25 | } // extern "C" | ||
26 | #endif | ||
27 | //--------------------------------------------------------------------------------- | ||