(PS3) Directory / extension filtering works on PS3 now

This commit is contained in:
Twinaphex 2012-06-18 23:29:43 +02:00
parent 2e94fdca36
commit 75f1cef303

View File

@ -270,10 +270,8 @@ char **dir_list_new(const char *dir, const char *ext, bool include_dirs)
if (!include_dirs && is_dir)
continue;
#ifndef __CELLOS_LV2__
if (!is_dir && ext_list && !string_list_find_elem(ext_list, file_ext))
continue;
#endif
char file_path[PATH_MAX];
snprintf(file_path, sizeof(file_path), "%s/%s", dir, name);