mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-02 15:56:48 +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