mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
menu: Hide 'Parent Directory' in compressed archives.
When browsing compressed archives 'Parent Directory' will not work and will endlessly recurse into non-existent empty directories where the user will have to press the back button to get out of every instance. This will now hide 'Parent Directory' in compressed archives to avoid this issue. The user will still be able to press the back button to exit. Fixes https://github.com/libretro/RetroArch/issues/2604
This commit is contained in:
parent
16c56eb9f3
commit
ff63852a7c
@ -305,7 +305,7 @@ void filebrowser_parse(menu_displaylist_info_t *info, unsigned type_data)
|
||||
}
|
||||
|
||||
end:
|
||||
if (info)
|
||||
if (info && !path_is_compressed)
|
||||
menu_entries_prepend(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY),
|
||||
path,
|
||||
|
Loading…
Reference in New Issue
Block a user