Add DIR_LIST_COLLECTIONS to dir_list_new_special

This commit is contained in:
twinaphex 2015-10-26 06:41:22 +01:00
parent 33f21a4b1f
commit 83cf945016
2 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,10 @@ struct string_list *dir_list_new_special(const char *input_dir, enum dir_list_ty
dir = settings->video.shader_dir;
exts = "cg|cgp|glsl|glslp";
break;
case DIR_LIST_COLLECTIONS:
dir = settings->playlist_directory;
exts = "lpl";
break;
case DIR_LIST_DATABASES:
dir = settings->content_database;
exts = "rdb";

View File

@ -30,6 +30,7 @@ enum dir_list_type
DIR_LIST_CORES,
DIR_LIST_CORE_INFO,
DIR_LIST_DATABASES,
DIR_LIST_COLLECTIONS,
DIR_LIST_PLAIN,
DIR_LIST_SHADERS
};