mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 03:00:24 +00:00
Biggest overhead now to be found at menu_setting_get_label -
we need to implement more efficient get_value callbacks
This commit is contained in:
parent
984c0e8141
commit
3363e57def
@ -1772,7 +1772,13 @@ static int menu_cbs_init_bind_get_string_representation_compare_type(
|
||||
BIND_ACTION_GET_VALUE(cbs,
|
||||
menu_action_setting_disp_set_label_menu_disk_index);
|
||||
break;
|
||||
case MENU_SETTING_ACTION:
|
||||
BIND_ACTION_GET_VALUE(cbs, menu_action_setting_disp_set_label_menu_more);
|
||||
break;
|
||||
default:
|
||||
#if 0
|
||||
RARCH_LOG("type: %d\n", type);
|
||||
#endif
|
||||
BIND_ACTION_GET_VALUE(cbs, menu_action_setting_disp_set_label);
|
||||
break;
|
||||
}
|
||||
@ -1787,6 +1793,10 @@ int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
|
||||
if (!cbs)
|
||||
return -1;
|
||||
|
||||
#if 0
|
||||
RARCH_LOG("MENU_SETTINGS_NONE: %d\n", MENU_SETTINGS_NONE);
|
||||
#endif
|
||||
|
||||
if (cbs->enum_idx != MSG_UNKNOWN)
|
||||
{
|
||||
switch (cbs->enum_idx)
|
||||
|
Loading…
Reference in New Issue
Block a user