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

Function stateSaveFunc

arm9/source/console.cpp:167–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 }
166}
167void stateSaveFunc(int value) {
168 printMenuMessage("Saving state...");
169 muteSND();
170 saveState(stateNum);
171 if (!isGameboyPaused())
172 unmuteSND();
173 printMenuMessage("State saved.");
174 // Will activate the other state options
175 stateSelectFunc(stateNum);
176}
177void stateLoadFunc(int value) {
178 printMenuMessage("Loading state...");
179 muteSND();

Callers

nothing calls this directly

Calls 6

printMenuMessageFunction · 0.85
muteSNDFunction · 0.85
saveStateFunction · 0.85
isGameboyPausedFunction · 0.85
unmuteSNDFunction · 0.85
stateSelectFuncFunction · 0.85

Tested by

no test coverage detected