MCPcopy Create free account
hub / github.com/TASEmulators/fceux / FCEUI_NetplayStart

Function FCEUI_NetplayStart

src/netplay.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69int FCEUI_NetplayStart(int nlocal, int divisor)
70{
71 FCEU_FlushGameCheats(0, 0); //Save our pre-netplay cheats.
72 FCEU_LoadGameCheats(0); // Load them again, for pre-multiplayer action.
73
74 FCEUnetplay = 1;
75 memset(netjoy,0,sizeof(netjoy));
76 numlocal = nlocal;
77 netdivisor = divisor;
78 netdcount = 0;
79 return(1);
80}
81
82int FCEUNET_SendCommand(uint8 cmd, uint32 len)
83{

Callers 4

FCEUD_NetworkConnectFunction · 0.85
FCEUD_NetworkConnectFunction · 0.85
FCEUD_NetworkConnectFunction · 0.85
FCEUD_NetworkConnectFunction · 0.85

Calls 2

FCEU_FlushGameCheatsFunction · 0.85
FCEU_LoadGameCheatsFunction · 0.85

Tested by

no test coverage detected