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

Method drawDirect

libs/JSystem/JUtility/JUTConsole.cpp:474–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472
473
474void JUTConsoleManager::drawDirect(bool waitRetrace) const {
475 if(mDirectConsole) {
476 if(waitRetrace) {
477 BOOL interrupt = OSEnableInterrupts();
478 u32 retrace_count = VIGetRetraceCount();
479 do
480 {
481 } while (retrace_count == VIGetRetraceCount());
482 OSRestoreInterrupts(interrupt);
483 }
484 mDirectConsole->doDraw(JUTConsole::CONSOLE_TYPE_2);
485 }
486}
487
488void JUTConsoleManager::setDirectConsole(JUTConsole *console) {
489 if (mDirectConsole != nullptr) {

Callers 4

showStackMethod · 0.80
showGPRMapMethod · 0.80
showSRR0MapMethod · 0.80
printContextMethod · 0.80

Calls 2

VIGetRetraceCountFunction · 0.85
doDrawMethod · 0.80

Tested by

no test coverage detected