Mercurial > vba-clojure
view src/gba/Flash.h @ 551:b69a3dba8045
condensed gameboy program into a contigous sequence of bytes.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 30 Aug 2012 11:19:52 -0500 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_FLASH_H2 #define VBA_FLASH_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 #include "zlib.h"9 #include "../Port.h"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);21 extern int32 flashSize;23 #endif // VBA_FLASH_H