MCPcopy Create free account
hub / github.com/Cpasjuste/pplay / getMenuMainOptionsSubmenu

Method getMenuMainOptionsSubmenu

src/menus/menu_main.cpp:99–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99MenuMainOptionsSubmenu *MenuMain::getMenuMainOptionsSubmenu(const std::string &name) {
100#ifdef __SWITCH__
101 if (name == OPT_CPU_BOOST) {
102 return menuMainOptionsCpu;
103 }
104 if (name == OPT_UMS_DEVICE) {
105 return menuMainOptionsUsb;
106 }
107#endif
108 return nullptr;
109}

Callers 1

onOptionSelectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected