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

Function suspendFunc

arm9/source/console.cpp:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66// Functions corresponding to menu options
67
68void suspendFunc(int value) {
69 muteSND();
70 if (!autoSavingEnabled) {
71 printMenuMessage("Saving SRAM...");
72 saveGame();
73 }
74 printMenuMessage("Saving state...");
75 saveState(-1);
76 printMessage[0] = '\0';
77 closeMenu();
78 selectRom();
79}
80void exitFunc(int value) {
81 muteSND();
82 if (!autoSavingEnabled && numRamBanks && !gbsMode) {

Callers

nothing calls this directly

Calls 6

muteSNDFunction · 0.85
printMenuMessageFunction · 0.85
saveGameFunction · 0.85
saveStateFunction · 0.85
closeMenuFunction · 0.85
selectRomFunction · 0.85

Tested by

no test coverage detected