Code: Alles auswählen
if (g_settings.personalize_games == 1 && g_PluginList->hasPlugin(CPlugins::P_TYPE_GAME))
mainMenu.addItem(new CMenuForwarder(LOCALE_MAINMENU_GAMES, true, NULL, new CPluginList(LOCALE_MAINMENU_GAMES,CPlugins::P_TYPE_GAME), "", CRCInput::convertDigitToKey(shortcut++)));
else if (g_settings.personalize_games == 2 && g_PluginList->hasPlugin(CPlugins::P_TYPE_GAME))
mainMenu.addItem(new CLockedMenuForwarder(LOCALE_MAINMENU_GAMES, g_settings.personalize_pincode, true, true, NULL, new CPluginList(LOCALE_MAINMENU_GAMES,CPlugins::P_TYPE_GAME), "", CRCInput::convertDigitToKey(shortcut++)));
Code: Alles auswählen
if (g_PluginList->hasPlugin(CPlugins::P_TYPE_GAME))
pMMMenu->addItem(new CMenuOptionChooser(LOCALE_MAINMENU_GAMES, (int *)&g_settings.personalize_games, PERSONALIZE_STD_OPTIONS, PERSONALIZE_STD_OPTION_COUNT, true, NULL, CRCInput::convertDigitToKey(shortcut++)));
PS: lassen Sie sich davon <CRCInput::convertDigitToKey(shortcut++)> nicht irritieren habe die Spiele nicht auf die Blaue-Taste