mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
menu_list_elem_is_dir - change how we determine element is a directory
This commit is contained in:
parent
30e29cfb5a
commit
015a882c2b
@ -49,7 +49,7 @@ static bool menu_list_elem_is_dir(file_list_t *list,
|
||||
|
||||
menu_list_get_at_offset(list, offset, &path, &label, &type, NULL);
|
||||
|
||||
return type != MENU_FILE_PLAIN;
|
||||
return type == MENU_FILE_DIRECTORY;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user