From ab498d3cf87d01c5dcadfebed64425a5f4ee5ffd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 2 Feb 2017 09:25:29 +0100 Subject: [PATCH] Add sublabels --- intl/msg_hash_us.h | 4 ++++ menu/cbs/menu_cbs_sublabel.c | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 68eda14df2..7122a4cb9f 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2759,3 +2759,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_CORE_INPUT_REMAPPING_OPTIONS, "Change the controls for the currently running content.") MSG_HASH(MENU_ENUM_SUBLABEL_CORE_OPTIONS, "Change the options for the currently running application.") +MSG_HASH(MENU_ENUM_SUBLABEL_SHOW_ADVANCED_SETTINGS, + "Show advanced settings for powerusers (hidden by default).") +MSG_HASH(MENU_ENUM_SUBLABEL_THREADED_DATA_RUNLOOP_ENABLE, + "Perform tasks on a seperate thread.") diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index 73d7ca1df4..80f628b4c2 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -239,6 +239,8 @@ default_sublabel_macro(action_bind_sublabel_core_cheat_options, default_sublabel_macro(action_bind_sublabel_shader_options, MENU_ENUM_SUBLABEL_SHADER_OPTIONS) default_sublabel_macro(action_bind_sublabel_core_input_remapping_options, MENU_ENUM_SUBLABEL_CORE_INPUT_REMAPPING_OPTIONS) default_sublabel_macro(action_bind_sublabel_core_options, MENU_ENUM_SUBLABEL_CORE_OPTIONS) +default_sublabel_macro(action_bind_sublabel_show_advanced_settings, MENU_ENUM_SUBLABEL_SHOW_ADVANCED_SETTINGS) +default_sublabel_macro(action_bind_sublabel_threaded_data_runloop_enable, MENU_ENUM_SUBLABEL_THREADED_DATA_RUNLOOP_ENABLE) static int action_bind_sublabel_cheevos_entry( file_list_t *list, @@ -300,6 +302,12 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_THREADED_DATA_RUNLOOP_ENABLE: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_threaded_data_runloop_enable); + break; + case MENU_ENUM_LABEL_SHOW_ADVANCED_SETTINGS: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_show_advanced_settings); + break; case MENU_ENUM_LABEL_CORE_OPTIONS: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_options); break;