mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 13:51:02 +00:00
Folders in 7zip archives are now correctly displayed in RGUI.
This commit is contained in:
parent
65a2b0c900
commit
84577c1b93
@ -795,8 +795,9 @@ int menu_parse_and_resolve(file_list_t *list, file_list_t *menu_list)
|
||||
exts = g_extern.system.valid_extensions;
|
||||
|
||||
struct string_list *str_list = NULL;
|
||||
bool path_is_compressed = path_is_compressed_file(dir);
|
||||
|
||||
if (path_is_compressed_file(dir))
|
||||
if (path_is_compressed)
|
||||
{
|
||||
str_list = compressed_file_list_new(dir,exts);
|
||||
}
|
||||
@ -838,11 +839,14 @@ int menu_parse_and_resolve(file_list_t *list, file_list_t *menu_list)
|
||||
if ((menu_common_type_is(label, menu_type) == MENU_FILE_DIRECTORY) && !is_dir)
|
||||
continue;
|
||||
|
||||
|
||||
/* Need to preserve slash first time. */
|
||||
const char *path = str_list->elems[i].data;
|
||||
if (*dir)
|
||||
|
||||
if (*dir && !path_is_compressed)
|
||||
path = path_basename(path);
|
||||
|
||||
|
||||
#ifdef HAVE_LIBRETRO_MANAGEMENT
|
||||
#ifdef RARCH_CONSOLE
|
||||
if (!strcmp(label, "core_list") && (is_dir ||
|
||||
|
Loading…
Reference in New Issue
Block a user