view src/gb/gbSGB.h @ 138:2b69cbe8a5b9

saving progress on state machine; 240 ops -> 90 ops (provided it withstands debugging)
author Dylan Holmes <ocsenave@gmail.com>
date Mon, 19 Mar 2012 03:05:42 -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