mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 10:21:31 +00:00
Move Content History Size option to Playlist Options
This commit is contained in:
parent
ef41200775
commit
3190b50e94
@ -20,6 +20,8 @@ static void get_title(const char *label, const char *dir,
|
|||||||
strlcpy(title, "INPUT OPTIONS", sizeof_title);
|
strlcpy(title, "INPUT OPTIONS", sizeof_title);
|
||||||
else if (!strcmp(label, "Overlay Options"))
|
else if (!strcmp(label, "Overlay Options"))
|
||||||
strlcpy(title, "OVERLAY OPTIONS", sizeof_title);
|
strlcpy(title, "OVERLAY OPTIONS", sizeof_title);
|
||||||
|
else if (!strcmp(label, "Playlist Options"))
|
||||||
|
strlcpy(title, "PLAYLIST OPTIONS", sizeof_title);
|
||||||
else if (!strcmp(label, "Netplay Options"))
|
else if (!strcmp(label, "Netplay Options"))
|
||||||
strlcpy(title, "NETPLAY OPTIONS", sizeof_title);
|
strlcpy(title, "NETPLAY OPTIONS", sizeof_title);
|
||||||
else if (!strcmp(label, "User Options"))
|
else if (!strcmp(label, "User Options"))
|
||||||
|
@ -4583,7 +4583,7 @@ static bool setting_data_append_list_playlist_options(
|
|||||||
|
|
||||||
START_GROUP(group_info, "Playlist Options");
|
START_GROUP(group_info, "Playlist Options");
|
||||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_CATEGORY);
|
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_CATEGORY);
|
||||||
START_SUB_GROUP(list, list_info, "State", group_info.name, subgroup_info);
|
START_SUB_GROUP(list, list_info, "History", group_info.name, subgroup_info);
|
||||||
|
|
||||||
CONFIG_BOOL(
|
CONFIG_BOOL(
|
||||||
g_settings.history_list_enable,
|
g_settings.history_list_enable,
|
||||||
@ -4597,6 +4597,17 @@ static bool setting_data_append_list_playlist_options(
|
|||||||
general_write_handler,
|
general_write_handler,
|
||||||
general_read_handler);
|
general_read_handler);
|
||||||
|
|
||||||
|
CONFIG_UINT(
|
||||||
|
g_settings.content_history_size,
|
||||||
|
"game_history_size",
|
||||||
|
"History List Size",
|
||||||
|
default_content_history_size,
|
||||||
|
group_info.name,
|
||||||
|
subgroup_info.name,
|
||||||
|
general_write_handler,
|
||||||
|
general_read_handler);
|
||||||
|
settings_list_current_add_range(list, list_info, 0, 0, 1.0, true, false);
|
||||||
|
|
||||||
END_SUB_GROUP(list, list_info);
|
END_SUB_GROUP(list, list_info);
|
||||||
END_GROUP(list, list_info);
|
END_GROUP(list, list_info);
|
||||||
|
|
||||||
@ -4661,16 +4672,6 @@ static bool setting_data_append_list_path_options(
|
|||||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_CATEGORY);
|
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_CATEGORY);
|
||||||
START_SUB_GROUP(list, list_info, "State", group_info.name, subgroup_info);
|
START_SUB_GROUP(list, list_info, "State", group_info.name, subgroup_info);
|
||||||
|
|
||||||
CONFIG_UINT(
|
|
||||||
g_settings.content_history_size,
|
|
||||||
"game_history_size",
|
|
||||||
"Content History Size",
|
|
||||||
default_content_history_size,
|
|
||||||
group_info.name,
|
|
||||||
subgroup_info.name,
|
|
||||||
general_write_handler,
|
|
||||||
general_read_handler);
|
|
||||||
settings_list_current_add_range(list, list_info, 0, 0, 1.0, true, false);
|
|
||||||
|
|
||||||
END_SUB_GROUP(list, list_info);
|
END_SUB_GROUP(list, list_info);
|
||||||
START_SUB_GROUP(list, list_info, "Paths", group_info.name, subgroup_info);
|
START_SUB_GROUP(list, list_info, "Paths", group_info.name, subgroup_info);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user