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

Function enableMenuOption

arm9/source/console.cpp:707–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705 }
706}
707void enableMenuOption(const char* optionName) {
708 for (int i=0; i<numMenus; i++) {
709 for (int j=0; j<menuList[i].numOptions; j++) {
710 if (strcasecmp(optionName, menuList[i].options[j].name) == 0) {
711 menuList[i].options[j].enabled = true;
712 /*
713 if (isMenuOn())
714 redrawMenu();
715 */
716 }
717 }
718 }
719}
720void disableMenuOption(const char* optionName) {
721 for (int i=0; i<numMenus; i++) {
722 for (int j=0; j<menuList[i].numOptions; j++) {

Callers 7

loadBorderFunction · 0.85
loadCheatsFunction · 0.85
stateSelectFuncFunction · 0.85
setScaleModeFuncFunction · 0.85
setAutoSaveFuncFunction · 0.85
displayMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected