mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-12 22:01:27 +00:00
More sublabels
This commit is contained in:
parent
a7efe032af
commit
aa7990269e
@ -3064,6 +3064,8 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
|
||||
return "Adjusts settings for video output.";
|
||||
case MENU_ENUM_SUBLABEL_AUDIO_SETTINGS:
|
||||
return "Adjusts settings for audio output.";
|
||||
case MENU_ENUM_SUBLABEL_INPUT_SETTINGS:
|
||||
return "Adjusts settings for joypads, keyboard and mouse.";
|
||||
case MENU_ENUM_SUBLABEL_SUSPEND_SCREENSAVER_ENABLE:
|
||||
return "Prevents your system's screensaver from becoming active.";
|
||||
case MENU_ENUM_SUBLABEL_VIDEO_MAX_SWAPCHAIN_IMAGES:
|
||||
|
@ -76,6 +76,16 @@ static int action_bind_sublabel_audio_settings_list(
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_bind_sublabel_input_settings_list(
|
||||
file_list_t *list,
|
||||
unsigned type, unsigned i,
|
||||
const char *label, const char *path,
|
||||
char *s, size_t len)
|
||||
{
|
||||
strlcpy(s, msg_hash_to_str(MENU_ENUM_SUBLABEL_INPUT_SETTINGS), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_bind_sublabel_max_swapchain_images(
|
||||
file_list_t *list,
|
||||
unsigned type, unsigned i,
|
||||
@ -363,6 +373,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_AUDIO_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SUSPEND_SCREENSAVER_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_suspend_screensaver_enable);
|
||||
break;
|
||||
|
@ -1937,6 +1937,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BINDS,
|
||||
MENU_ENUM_SUBLABEL_VIDEO_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_AUDIO_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_INPUT_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_SUSPEND_SCREENSAVER_ENABLE,
|
||||
MENU_ENUM_SUBLABEL_FPS_SHOW,
|
||||
MENU_ENUM_SUBLABEL_VIDEO_MAX_SWAPCHAIN_IMAGES,
|
||||
|
Loading…
x
Reference in New Issue
Block a user