MCPcopy Create free account
hub / github.com/Stewmath/GameYob / consoleOutputFunc

Function consoleOutputFunc

arm9/source/console.cpp:95–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 selectRom();
94}
95void consoleOutputFunc(int value) {
96 if (value == 0) {
97 fpsOutput = false;
98 timeOutput = false;
99 consoleDebugOutput = false;
100 }
101 else if (value == 1) {
102 fpsOutput = false;
103 timeOutput = true;
104 consoleDebugOutput = false;
105 }
106 else if (value == 2) {
107 fpsOutput = true;
108 timeOutput = true;
109 consoleDebugOutput = false;
110 }
111 else if (value == 3) {
112 fpsOutput = false;
113 timeOutput = false;
114 consoleDebugOutput = true;
115 }
116}
117void returnToLauncherFunc(int value) {
118 exit(0);
119}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected