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

Function windowEnableFunc

arm9/source/console.cpp:272–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270 hblankDisabled = !value;
271}
272void windowEnableFunc(int value) {
273 windowDisabled = !value;
274 if (windowDisabled)
275 REG_DISPCNT &= ~DISPLAY_WIN0_ON;
276 else
277 REG_DISPCNT |= DISPLAY_WIN0_ON;
278}
279void soundEnableFunc(int value) {
280 soundDisabled = !value;
281 sharedData->fifosSent++;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected