mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Exclude parent dir entry for horizontal menu
This commit is contained in:
parent
056199c574
commit
b5768cb94c
@ -2082,6 +2082,7 @@ static int menu_displaylist_parse_generic(menu_displaylist_info_t *info, bool ho
|
|||||||
menu_hash_to_str(MENU_LABEL_USE_THIS_DIRECTORY),
|
menu_hash_to_str(MENU_LABEL_USE_THIS_DIRECTORY),
|
||||||
MENU_FILE_USE_DIRECTORY, 0 ,0);
|
MENU_FILE_USE_DIRECTORY, 0 ,0);
|
||||||
|
|
||||||
|
if (!horizontal)
|
||||||
{
|
{
|
||||||
char out_dir[PATH_MAX_LENGTH];
|
char out_dir[PATH_MAX_LENGTH];
|
||||||
fill_pathname_parent_dir(out_dir, info->path, sizeof(out_dir));
|
fill_pathname_parent_dir(out_dir, info->path, sizeof(out_dir));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user