From 3363e57def2447379cc0e6c60a16f79a6a25b4a2 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 23 Oct 2016 03:37:51 +0200 Subject: [PATCH] Biggest overhead now to be found at menu_setting_get_label - we need to implement more efficient get_value callbacks --- menu/cbs/menu_cbs_get_value.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/menu/cbs/menu_cbs_get_value.c b/menu/cbs/menu_cbs_get_value.c index 7e8f1687fe..4eab78746d 100644 --- a/menu/cbs/menu_cbs_get_value.c +++ b/menu/cbs/menu_cbs_get_value.c @@ -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)