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

Function flushMessage_dbPrint

libs/JSystem/JUtility/JUTAssert.cpp:52–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 void flushMessage_dbPrint()
53 {
54 if (flush_subroutine() && sVisible == true && JUTDbPrint::getManager())
55 {
56 JUTFont *font = JUTDbPrint::getManager()->getFont();
57 if (font)
58 {
59 u8 tmp = ((VIGetRetraceCount() & 60) << 2) | 0xF;
60 font->setGX();
61 font->setCharColor(JUtility::TColor(255, tmp, tmp, 255));
62 font->drawString(30, 36, sMessageFileLine, true);
63 font->drawString(30, 54, sMessageString, true);
64 }
65 }
66 }
67
68#ifdef DEBUG
69 u32 getSDevice() {

Callers 1

endGXMethod · 0.85

Calls 7

flush_subroutineFunction · 0.85
VIGetRetraceCountFunction · 0.85
TColorClass · 0.85
getFontMethod · 0.45
setGXMethod · 0.45
setCharColorMethod · 0.45
drawStringMethod · 0.45

Tested by

no test coverage detected