This commit is contained in:
twinaphex 2017-09-22 04:31:54 +02:00
parent e74da12d26
commit a715bebaaa

2
dirs.c
View File

@ -56,7 +56,7 @@ bool dir_init_shader(void)
struct rarch_dir_list *dir_list = (struct rarch_dir_list*)&dir_shader_list;
settings_t *settings = config_get_ptr();
if (!*settings->paths.directory_video_shader)
if (!settings || !*settings->paths.directory_video_shader)
return false;
dir_list->list = dir_list_new_special(