Mercurial > vba-clojure
comparison src/gba/Flash.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 #ifndef VBA_FLASH_H | |
2 #define VBA_FLASH_H | |
3 | |
4 #if _MSC_VER > 1000 | |
5 #pragma once | |
6 #endif // _MSC_VER > 1000 | |
7 | |
8 #include "zlib.h" | |
9 #include "../Port.h" | |
10 | |
11 extern void flashSaveGame(gzFile gzFile); | |
12 extern void flashReadGame(gzFile gzFile, int version); | |
13 extern u8 flashRead(u32 address); | |
14 extern void flashWrite(u32 address, u8 byte); | |
15 extern u8 flashSaveMemory[0x20000 + 4]; | |
16 extern void flashSaveDecide(u32 address, u8 byte); | |
17 extern void flashReset(); | |
18 extern void flashErase(); | |
19 extern void flashSetSize(int size); | |
20 | |
21 extern int32 flashSize; | |
22 | |
23 #endif // VBA_FLASH_H |