forked from len0rd/rockbox
menus remove reserved 'param' parameter
-- missed the plugin menu -- Change-Id: Iac2c9b0b8212ab5f3ac2ef90e1ac2723d212f86c
This commit is contained in:
parent
ccf1aaa5be
commit
c85a4f1fa4
17 changed files with 191 additions and 203 deletions
|
|
@ -93,14 +93,15 @@ static int menu_callback(int action,
|
|||
return action;
|
||||
}
|
||||
|
||||
#define ITEM_FLAG (MENU_FUNC_USEPARAM|MENU_FUNC_CHECK_RETVAL)
|
||||
#define ITEM_FLAG (MENU_FUNC_CHECK_RETVAL)
|
||||
|
||||
MENUITEM_FUNCTION_W_PARAM(games_item, ITEM_FLAG, ID2P(LANG_PLUGIN_GAMES),
|
||||
plugins_menu, (void*)GAMES, NULL, Icon_Folder);
|
||||
MENUITEM_FUNCTION_W_PARAM(apps_item, ITEM_FLAG, ID2P(LANG_PLUGIN_APPS),
|
||||
plugins_menu, (void*)APPS, NULL, Icon_Folder);
|
||||
MENUITEM_FUNCTION_W_PARAM(demos_item, ITEM_FLAG, ID2P(LANG_PLUGIN_DEMOS),
|
||||
plugins_menu, (void*)DEMOS, NULL, Icon_Folder);
|
||||
|
||||
MENUITEM_FUNCTION(games_item, ITEM_FLAG, ID2P(LANG_PLUGIN_GAMES),
|
||||
plugins_menu, (void*)GAMES, NULL, Icon_Folder);
|
||||
MENUITEM_FUNCTION(apps_item, ITEM_FLAG, ID2P(LANG_PLUGIN_APPS),
|
||||
plugins_menu, (void*)APPS, NULL, Icon_Folder);
|
||||
MENUITEM_FUNCTION(demos_item, ITEM_FLAG, ID2P(LANG_PLUGIN_DEMOS),
|
||||
plugins_menu, (void*)DEMOS, NULL, Icon_Folder);
|
||||
|
||||
MAKE_MENU(plugin_menu, ID2P(LANG_PLUGINS), &menu_callback,
|
||||
Icon_Plugin,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue