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

Function FCEUI_NetplayText

src/netplay.cpp:100–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void FCEUI_NetplayText(uint8 *text)
101{
102 uint32 len;
103
104 len = strlen((char*)text); //mbg merge 7/17/06 added cast
105
106 if(!FCEUNET_SendCommand(FCEUNPCMD_TEXT,len)) return;
107
108 if(!FCEUD_SendData(text,len))
109 NetError();
110}
111
112int FCEUNET_SendFile(uint8 cmd, char *fn)
113{

Callers 4

NetConFunction · 0.85
FCEUD_SendDataFunction · 0.85
FCEUD_SendDataFunction · 0.85
FCEUD_SendDataFunction · 0.85

Calls 3

FCEUNET_SendCommandFunction · 0.85
NetErrorFunction · 0.85
FCEUD_SendDataFunction · 0.50

Tested by

no test coverage detected