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

Function setSingleScreenFunc

arm9/source/console.cpp:225–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void setSingleScreenFunc(int value) {
226 if (value != singleScreenMode) {
227 singleScreenMode = value;
228 if (singleScreenMode)
229 pauseGameboy();
230
231 if (isMenuOn()) {
232 // Swap game screen
233 // This will invoke updateScreens, incidentally.
234 setMenuOption("Game Screen", !gameScreen);
235 }
236 }
237}
238
239void setScaleModeFunc(int value) {
240 scaleMode = value;

Callers

nothing calls this directly

Calls 3

pauseGameboyFunction · 0.85
isMenuOnFunction · 0.85
setMenuOptionFunction · 0.85

Tested by

no test coverage detected