MCPcopy Create free account
hub / github.com/doldecomp/mkdd / JUTWarningConsole_f_va

Function JUTWarningConsole_f_va

libs/JSystem/JUtility/JUTConsole.cpp:542–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542void JUTWarningConsole_f_va(const char *text, va_list args)
543{
544 char buf[256];
545 if (!JUTGetWarningConsole())
546 {
547 vsnprintf(buf, sizeof(buf), text, args);
548 OSReport("%s", buf);
549 }
550 else if (JUTGetWarningConsole()->getOutput() & OUTPUT_ALL)
551 {
552 vsnprintf(buf, sizeof(buf), text, args);
553 JUTGetWarningConsole()->print(buf);
554 }
555}
556
557void JUTWarningConsole_f(const char *text, ...)
558{

Callers 1

setWarningMessage_f_vaFunction · 0.85

Calls 5

JUTGetWarningConsoleFunction · 0.85
vsnprintfFunction · 0.85
OSReportFunction · 0.85
getOutputMethod · 0.80
printMethod · 0.45

Tested by

no test coverage detected