mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Can now scroll left/right on playlists tab
This commit is contained in:
parent
1b28ff59ba
commit
fffd104c0d
@ -429,6 +429,12 @@ static int menu_cbs_init_bind_left_compare_label(menu_file_list_cbs_t *cbs,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)))
|
||||||
|
{
|
||||||
|
BIND_ACTION_LEFT(cbs, action_left_mainmenu);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (strstr(label, "rdb_entry"))
|
if (strstr(label, "rdb_entry"))
|
||||||
{
|
{
|
||||||
BIND_ACTION_LEFT(cbs, action_left_scroll);
|
BIND_ACTION_LEFT(cbs, action_left_scroll);
|
||||||
|
@ -535,6 +535,12 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)))
|
||||||
|
{
|
||||||
|
BIND_ACTION_RIGHT(cbs, action_right_mainmenu);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (strstr(label, "rdb_entry"))
|
if (strstr(label, "rdb_entry"))
|
||||||
{
|
{
|
||||||
BIND_ACTION_RIGHT(cbs, action_right_scroll);
|
BIND_ACTION_RIGHT(cbs, action_right_scroll);
|
||||||
|
@ -5303,6 +5303,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
|||||||
strlcpy(info->exts,
|
strlcpy(info->exts,
|
||||||
file_path_str(FILE_PATH_RDB_EXTENSION),
|
file_path_str(FILE_PATH_RDB_EXTENSION),
|
||||||
sizeof(info->exts));
|
sizeof(info->exts));
|
||||||
|
info->enum_idx = MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST;
|
||||||
strlcpy(info->path, settings->path.content_database, sizeof(info->path));
|
strlcpy(info->path, settings->path.content_database, sizeof(info->path));
|
||||||
break;
|
break;
|
||||||
case DISPLAYLIST_ARCHIVE_ACTION:
|
case DISPLAYLIST_ARCHIVE_ACTION:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user