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