Skip to content

Commit

Permalink
Merge pull request libretro#3972 from lasers/fix-black-boxes-conspiracy
Browse files Browse the repository at this point in the history
Fix black boxes conspiracy
  • Loading branch information
inactive123 authored Nov 9, 2016
2 parents f58b11b + fc9b690 commit 4b03bb9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions menu/menu_displaylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -3287,9 +3287,13 @@ static int menu_displaylist_parse_playlists(
continue;

/* Need to preserve slash first time. */
path = str_list->elems[i].data;
path = str_list->elems[i].data;

if (!strstr(path, file_path_str(FILE_PATH_LPL_EXTENSION)))
if (!strstr(path, file_path_str(FILE_PATH_LPL_EXTENSION)) ||
(strstr(path, file_path_str(FILE_PATH_CONTENT_HISTORY))) ||
(strstr(path, file_path_str(FILE_PATH_CONTENT_MUSIC_HISTORY))) ||
(strstr(path, file_path_str(FILE_PATH_CONTENT_VIDEO_HISTORY))) ||
(strstr(path, file_path_str(FILE_PATH_CONTENT_IMAGE_HISTORY))))
continue;

file_type = FILE_TYPE_PLAYLIST_COLLECTION;
Expand Down

0 comments on commit 4b03bb9

Please sign in to comment.