mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
Bump up collection limit
This commit is contained in:
parent
48c912f913
commit
9185d37710
@ -218,7 +218,7 @@ static int action_ok_playlist_entry(const char *path,
|
||||
case MENU_LABEL_RDB_ENTRY_START_CONTENT:
|
||||
if (!menu->playlist)
|
||||
{
|
||||
menu->playlist = content_playlist_init(menu->db_playlist_file, 1000);
|
||||
menu->playlist = content_playlist_init(menu->db_playlist_file, COLLECTION_SIZE);
|
||||
|
||||
if (!menu->playlist)
|
||||
return -1;
|
||||
|
@ -1025,7 +1025,7 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
|
||||
fill_pathname_join(path_playlist, settings->playlist_directory, path_base,
|
||||
sizeof(path_playlist));
|
||||
|
||||
playlist = content_playlist_init(path_playlist, 1000);
|
||||
playlist = content_playlist_init(path_playlist, COLLECTION_SIZE);
|
||||
|
||||
if (playlist)
|
||||
strlcpy(menu->db_playlist_file, path_playlist,
|
||||
@ -1549,7 +1549,7 @@ static int menu_displaylist_parse_horizontal_list(menu_displaylist_info_t *info)
|
||||
settings->playlist_directory, item->path,
|
||||
sizeof(path_playlist));
|
||||
menu->playlist = content_playlist_init(path_playlist,
|
||||
999);
|
||||
COLLECTION_SIZE);
|
||||
strlcpy(menu->db_playlist_file, path_playlist, sizeof(menu->db_playlist_file));
|
||||
strlcpy(path_playlist,
|
||||
menu_hash_to_str(MENU_LABEL_COLLECTION),
|
||||
@ -2439,7 +2439,7 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||
settings->playlist_directory, info->path,
|
||||
sizeof(path_playlist));
|
||||
menu->playlist = content_playlist_init(path_playlist,
|
||||
999);
|
||||
COLLECTION_SIZE);
|
||||
strlcpy(menu->db_playlist_file, path_playlist, sizeof(menu->db_playlist_file));
|
||||
strlcpy(path_playlist,
|
||||
menu_hash_to_str(MENU_LABEL_COLLECTION), sizeof(path_playlist));
|
||||
|
@ -27,6 +27,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef COLLECTION_SIZE
|
||||
#define COLLECTION_SIZE 99999
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
DISPLAYLIST_NONE = 0,
|
||||
|
@ -31,6 +31,10 @@
|
||||
|
||||
#define HASH_EXTENSION_ZIP 0x0b88c7d8U
|
||||
|
||||
#ifndef COLLECTION_SIZE
|
||||
#define COLLECTION_SIZE 99999
|
||||
#endif
|
||||
|
||||
typedef struct database_state_handle
|
||||
{
|
||||
database_info_list_t *info;
|
||||
@ -213,7 +217,7 @@ static int database_info_list_iterate_found_match(
|
||||
fill_pathname_join(db_playlist_path, settings->playlist_directory,
|
||||
db_playlist_base_str, sizeof(db_playlist_path));
|
||||
|
||||
playlist = content_playlist_init(db_playlist_path, 1000);
|
||||
playlist = content_playlist_init(db_playlist_path, COLLECTION_SIZE);
|
||||
|
||||
|
||||
snprintf(db_crc, sizeof(db_crc), "%08X|crc", db_info_entry->crc32);
|
||||
|
Loading…
x
Reference in New Issue
Block a user