This commit is contained in:
twinaphex 2016-10-03 16:07:37 +02:00
parent 9d5684639e
commit dccdd521ea

14
dirs.c
View File

@ -49,10 +49,13 @@ static char current_savefile_dir[PATH_MAX_LENGTH] = {0};
static char current_savestate_dir[PATH_MAX_LENGTH] = {0};
static char dir_savestate[PATH_MAX_LENGTH] = {0};
static bool shader_dir_init(struct rarch_dir_list *dir_list)
/* init functions */
bool dir_init_shader(void)
{
unsigned i;
settings_t *settings = config_get_ptr();
struct rarch_dir_list *dir_list = (struct rarch_dir_list*)&dir_shader_list;
settings_t *settings = config_get_ptr();
if (!*settings->directory.video_shader)
return false;
@ -76,13 +79,6 @@ static bool shader_dir_init(struct rarch_dir_list *dir_list)
return true;
}
/* init functions */
bool dir_init_shader(void)
{
return shader_dir_init(&dir_shader_list);
}
/* free functions */
bool dir_free_shader(void)