mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-29 05:54:17 +01:00
19 lines
559 B
C
19 lines
559 B
C
#ifndef FLASH_H
|
|
#define FLASH_H
|
|
|
|
extern void flashSaveGame(gzFile _gzFile);
|
|
extern void flashReadGame(gzFile _gzFile, int version);
|
|
extern void flashReadGameSkip(gzFile _gzFile, int version);
|
|
extern u8 flashRead(u32 address);
|
|
extern void flashWrite(u32 address, u8 byte);
|
|
extern void flashDelayedWrite(u32 address, u8 byte);
|
|
extern u8 flashSaveMemory[0x20000];
|
|
extern void flashSaveDecide(u32 address, u8 byte);
|
|
extern void flashReset();
|
|
extern void flashSetSize(int size);
|
|
extern void flashInit();
|
|
|
|
extern int flashSize;
|
|
|
|
#endif // FLASH_H
|