From ff63852a7cf59d7fdd2bd62aa06332df560c3ace Mon Sep 17 00:00:00 2001 From: orbea Date: Wed, 26 Dec 2018 09:14:10 -0800 Subject: [PATCH] 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 --- menu/widgets/menu_filebrowser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/widgets/menu_filebrowser.c b/menu/widgets/menu_filebrowser.c index 4999bcca5e..4175bcb9ba 100644 --- a/menu/widgets/menu_filebrowser.c +++ b/menu/widgets/menu_filebrowser.c @@ -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,