mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Cleanup
This commit is contained in:
parent
e74da12d26
commit
a715bebaaa
2
dirs.c
2
dirs.c
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user