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

Function exitFunc

arm9/source/console.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 selectRom();
79}
80void exitFunc(int value) {
81 muteSND();
82 if (!autoSavingEnabled && numRamBanks && !gbsMode) {
83 printMenuMessage("Saving SRAM...");
84 saveGame();
85 }
86 printMessage[0] = '\0';
87 closeMenu();
88 selectRom();
89}
90void exitNoSaveFunc(int value) {
91 muteSND();
92 closeMenu();

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected