view src/gb/gbSGB.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_GB_SGB_H
2 #define VBA_GB_SGB_H
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
8 #include "zlib.h"
9 #include "../Port.h"
11 void gbSgbInit();
12 void gbSgbShutdown();
13 void gbSgbCommand();
14 void gbSgbResetPacketState();
15 void gbSgbReset();
16 void gbSgbDoBitTransfer(u8);
17 void gbSgbSaveGame(gzFile);
18 void gbSgbReadGame(gzFile, int version);
19 void gbSgbRenderBorder();
21 extern u8 gbSgbATF[20*18];
22 extern int32 gbSgbMode;
23 extern int32 gbSgbMask;
24 extern int32 gbSgbMultiplayer;
25 extern u8 gbSgbNextController;
26 extern int32 gbSgbPacketTimeout;
27 extern u8 gbSgbReadingController;
28 extern int32 gbSgbFourPlayers;
30 #endif // VBA_GB_SGB_H