MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / netloaderDrawBot

Function netloaderDrawBot

source/ui/netloader.c:402–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void netloaderDrawBot(void)
403{
404 char buf[256];
405 const char* text = NULL;
406 if (datafd < 0)
407 {
408 u32 ip = gethostid();
409 snprintf(buf, sizeof(buf), textGetString(StrId_NetLoaderActive), ip&0xFF, (ip>>8)&0xFF, (ip>>16)&0xFF, (ip>>24)&0xFF, NETWORK_PORT);
410 text = buf;
411 }
412
413 networkDrawBot(StrId_NetLoader, text, (datafd >= 0 && filelen), filelen, filetotal);
414}

Callers

nothing calls this directly

Calls 2

textGetStringFunction · 0.85
networkDrawBotFunction · 0.85

Tested by

no test coverage detected