fceugx/source/fceultra/netplay.h

24 lines
627 B
C
Raw Normal View History

2009-07-17 19:27:04 +02:00
int InitNetplay(void);
void NetplayUpdate(uint8 *joyp);
extern int FCEUnetplay;
#define FCEUNPCMD_RESET 0x01
#define FCEUNPCMD_POWER 0x02
#define FCEUNPCMD_VSUNICOIN 0x07
#define FCEUNPCMD_VSUNIDIP0 0x08
#define FCEUNPCMD_FDSINSERTx 0x10
#define FCEUNPCMD_FDSINSERT 0x18
//#define FCEUNPCMD_FDSEJECT 0x19
#define FCEUNPCMD_FDSSELECT 0x1A
#define FCEUNPCMD_LOADSTATE 0x80
#define FCEUNPCMD_SAVESTATE 0x81 /* Sent from server to client. */
#define FCEUNPCMD_LOADCHEATS 0x82
#define FCEUNPCMD_TEXT 0x90
int FCEUNET_SendCommand(uint8, uint32);
int FCEUNET_SendFile(uint8 cmd, char *);