This commit is contained in:
twinaphex 2016-07-08 19:14:29 +02:00
parent 7aaa39a5db
commit 97be5b164f
3 changed files with 3 additions and 27 deletions

View File

@ -1743,7 +1743,7 @@ static int menu_cbs_init_bind_get_string_representation_compare_type(
int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
const char *path, const char *label, unsigned type, size_t idx,
uint32_t label_hash, uint32_t menu_label_hash)
uint32_t label_hash)
{
if (!cbs)
return -1;
@ -1780,30 +1780,6 @@ int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
break;
}
}
else
{
switch (menu_label_hash)
{
case MENU_LABEL_LOAD_CONTENT_HISTORY:
BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_content_history);
return 0;
case MENU_LABEL_SYSTEM_INFORMATION:
BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_system_information);
return 0;
case MENU_LABEL_DEBUG_INFORMATION:
BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_debug_information);
return 0;
case MENU_LABEL_ACHIEVEMENT_LIST:
BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_achievement_information);
return 0;
default:
break;
}
}
if (type >= MENU_SETTINGS_PLAYLIST_ASSOCIATION_START)
{

View File

@ -118,7 +118,7 @@ void menu_cbs_init(void *data,
menu_cbs_init_log(repr_label, "REFRESH", cbs->action_refresh_ident);
menu_cbs_init_bind_get_string_representation(cbs, path, label, type, idx, label_hash, menu_label_hash);
menu_cbs_init_bind_get_string_representation(cbs, path, label, type, idx, label_hash);
menu_cbs_init_log(repr_label, "GET VALUE", cbs->action_get_value_ident);

View File

@ -146,7 +146,7 @@ int menu_cbs_init_bind_refresh(menu_file_list_cbs_t *cbs,
int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
const char *path, const char *label, unsigned type, size_t idx,
uint32_t label_hash, uint32_t menu_label_hash);
uint32_t label_hash);
int menu_cbs_init_bind_label(menu_file_list_cbs_t *cbs,
const char *path, const char *label, unsigned type, size_t idx);