From a96ae6e987671da71be4aa840e80eb341d4d62f3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 9 Jan 2020 16:49:52 +0100 Subject: [PATCH] (Playlists) Make sure history list can be set to 1 as a bare minimum - bump up default to 200 for history and favorites lists --- config.def.h | 4 ++-- menu/menu_setting.c | 2 +- retroarch.cfg | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.def.h b/config.def.h index 366bcd0b18..0dac001668 100644 --- a/config.def.h +++ b/config.def.h @@ -915,11 +915,11 @@ static const bool network_on_demand_thumbnails = false; #endif /* Number of entries that will be kept in content history playlist file. */ -static const unsigned default_content_history_size = 100; +static const unsigned default_content_history_size = 200; /* Number of entries that will be kept in content favorites playlist file. * -1 == 'unlimited' (99999) */ -static const int default_content_favorites_size = 100; +static const int default_content_favorites_size = 200; /* Sort all playlists (apart from histories) alphabetically */ static const bool playlist_sort_alphabetical = true; diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 1e2f8989be..867b2565e6 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -15126,7 +15126,7 @@ static bool setting_append_list( general_write_handler, general_read_handler); (*list)[list_info->index - 1].action_ok = &setting_action_ok_uint; - menu_settings_list_current_add_range(list, list_info, 0.0f, (float)COLLECTION_SIZE, 1.0f, true, false); + menu_settings_list_current_add_range(list, list_info, 1.0f, (float)COLLECTION_SIZE, 1.0f, true, false); END_SUB_GROUP(list, list_info, parent_group); diff --git a/retroarch.cfg b/retroarch.cfg index 9d7c109bfe..2454b1bd62 100644 --- a/retroarch.cfg +++ b/retroarch.cfg @@ -59,7 +59,7 @@ # content_video_history_path = # Number of entries that will be kept in content history file. -# content_history_size = 100 +# content_history_size = 200 # Content directory. Interacts with RETRO_ENVIRONMENT_GET_CONTENT_DIRECTORY. # Usually set by developers who bundle libretro/RetroArch apps to point to assets.