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

Function BroadcastText

fceux-server/server.cpp:531–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531static void BroadcastText(GameEntry *game, const char *fmt, ...) throw()
532{
533 char *moo;
534 va_list ap;
535
536 va_start(ap,fmt);
537 vasprintf(&moo, fmt, ap);
538 va_end(ap);
539
540 SendToAll(game, 0x90,(uint8 *)moo,strlen(moo));
541 free(moo);
542}
543
544static void KillClient(ClientEntry *client)
545{

Callers 1

KillClientFunction · 0.85

Calls 1

SendToAllFunction · 0.85

Tested by

no test coverage detected