about summary refs log tree commit diff stats
path: root/gba/source/libSave.h
diff options
context:
space:
mode:
authorFIX94 <fix94.1@gmail.com>2016-04-08 23:10:13 +0200
committerFIX94 <fix94.1@gmail.com>2016-04-08 23:10:13 +0200
commit2fdb5e638e023408697be8950e776e8f8ffd2590 (patch)
treeed9d04ded678e3e8af685221a8409d508455d918 /gba/source/libSave.h
parent95b6910184d576e64ace469b9845b96b5a1d9f2d (diff)
downloadgen3uploader-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.h27
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
5extern "C" {
6#endif
7//---------------------------------------------------------------------------------
8
9void GetSave_EEPROM_512B(u8* data);
10void PutSave_EEPROM_512B(u8* data);
11void GetSave_EEPROM_8KB(u8* data);
12void PutSave_EEPROM_8KB(u8* data);
13void GetSave_SRAM_32KB(u8* data);
14void PutSave_SRAM_32KB(u8* data);
15void GetSave_FLASH_64KB(u8* data);
16void PutSave_FLASH_64KB(u8* foo);
17void GetSave_FLASH_128KB(u8* data);
18void PutSave_FLASH_128KB(u8* foo);
19
20u32 SaveSize(u8* data, s32 gamesize);
21
22
23//---------------------------------------------------------------------------------
24#ifdef __cplusplus
25} // extern "C"
26#endif
27//---------------------------------------------------------------------------------