mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 13:26:34 +00:00
Add sublabel for Playlists (enable,history_size)
This commit is contained in:
parent
57bbecdc40
commit
476ce38e3b
@ -842,3 +842,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE,
|
|||||||
"Pause gameplay when window focus is lost.")
|
"Pause gameplay when window focus is lost.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
||||||
"Enable or disable composition (Windows only).")
|
"Enable or disable composition (Windows only).")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE,
|
||||||
|
"Enable or disable recent playlist for games, images, music, and videos.")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE,
|
||||||
|
"Limit the number of entries in recent playlist for games, images, music, and videos.")
|
||||||
|
@ -2241,3 +2241,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE,
|
|||||||
"Pause gameplay when window focus is lost.")
|
"Pause gameplay when window focus is lost.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
||||||
"Enable or disable composition (Windows only).")
|
"Enable or disable composition (Windows only).")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE,
|
||||||
|
"Enable or disable recent playlist for games, images, music, and videos.")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE,
|
||||||
|
"Limit the number of entries in recent playlist for games, images, music, and videos.")
|
||||||
|
@ -2207,3 +2207,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE,
|
|||||||
"Pause gameplay when window focus is lost.")
|
"Pause gameplay when window focus is lost.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
||||||
"Enable or disable composition (Windows only).")
|
"Enable or disable composition (Windows only).")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE,
|
||||||
|
"Enable or disable recent playlist for games, images, music, and videos.")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE,
|
||||||
|
"Limit the number of entries in recent playlist for games, images, music, and videos.")
|
||||||
|
@ -2261,3 +2261,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE,
|
|||||||
"Pause gameplay when window focus is lost.")
|
"Pause gameplay when window focus is lost.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
||||||
"Enable or disable composition (Windows only).")
|
"Enable or disable composition (Windows only).")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE,
|
||||||
|
"Enable or disable recent playlist for games, images, music, and videos.")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE,
|
||||||
|
"Limit the number of entries in recent playlist for games, images, music, and videos.")
|
||||||
|
@ -2241,3 +2241,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE,
|
|||||||
"Pause gameplay when window focus is lost.")
|
"Pause gameplay when window focus is lost.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
||||||
"Enable or disable composition (Windows only).")
|
"Enable or disable composition (Windows only).")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE,
|
||||||
|
"Enable or disable recent playlist for games, images, music, and videos.")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE,
|
||||||
|
"Limit the number of entries in recent playlist for games, images, music, and videos.")
|
||||||
|
@ -2235,3 +2235,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE,
|
|||||||
"Pause gameplay when window focus is lost.")
|
"Pause gameplay when window focus is lost.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
||||||
"Enable or disable composition (Windows only).")
|
"Enable or disable composition (Windows only).")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE,
|
||||||
|
"Enable or disable recent playlist for games, images, music, and videos.")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE,
|
||||||
|
"Limit the number of entries in recent playlist for games, images, music, and videos.")
|
||||||
|
@ -2273,3 +2273,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE,
|
|||||||
"Pause gameplay when window focus is lost.")
|
"Pause gameplay when window focus is lost.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION,
|
||||||
"Enable or disable composition (Windows only).")
|
"Enable or disable composition (Windows only).")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE,
|
||||||
|
"Enable or disable recent playlist for games, images, music, and videos.")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE,
|
||||||
|
"Limit the number of entries in recent playlist for games, images, music, and videos.")
|
||||||
|
@ -112,6 +112,8 @@ default_sublabel_macro(action_bind_sublabel_audio_enable, MENU_
|
|||||||
default_sublabel_macro(action_bind_sublabel_audio_max_timing_skew, MENU_ENUM_SUBLABEL_AUDIO_MAX_TIMING_SKEW)
|
default_sublabel_macro(action_bind_sublabel_audio_max_timing_skew, MENU_ENUM_SUBLABEL_AUDIO_MAX_TIMING_SKEW)
|
||||||
default_sublabel_macro(action_bind_sublabel_pause_nonactive, MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE)
|
default_sublabel_macro(action_bind_sublabel_pause_nonactive, MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE)
|
||||||
default_sublabel_macro(action_bind_sublabel_video_disable_composition, MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION)
|
default_sublabel_macro(action_bind_sublabel_video_disable_composition, MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION)
|
||||||
|
default_sublabel_macro(action_bind_sublabel_history_list_enable, MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE)
|
||||||
|
default_sublabel_macro(action_bind_sublabel_content_history_size, MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE)
|
||||||
|
|
||||||
static int action_bind_sublabel_cheevos_entry(
|
static int action_bind_sublabel_cheevos_entry(
|
||||||
file_list_t *list,
|
file_list_t *list,
|
||||||
@ -403,6 +405,12 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
|||||||
case MENU_ENUM_LABEL_VIDEO_DISABLE_COMPOSITION:
|
case MENU_ENUM_LABEL_VIDEO_DISABLE_COMPOSITION:
|
||||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_disable_composition);
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_disable_composition);
|
||||||
break;
|
break;
|
||||||
|
case MENU_ENUM_LABEL_HISTORY_LIST_ENABLE:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_history_list_enable);
|
||||||
|
break;
|
||||||
|
case MENU_ENUM_LABEL_CONTENT_HISTORY_SIZE:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_content_history_size);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
case MSG_UNKNOWN:
|
case MSG_UNKNOWN:
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user