mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Correctly check errors if preset cannot be found.
This commit is contained in:
parent
0c74d19112
commit
53c30cacd5
@ -2851,7 +2851,7 @@ vulkan_filter_chain_t *vulkan_filter_chain_create_from_preset(
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
unique_ptr<config_file_t, ConfigDeleter> conf{ config_file_new(path) };
|
unique_ptr<config_file_t, ConfigDeleter> conf{ config_file_new(path) };
|
||||||
if (!path)
|
if (!conf)
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
if (!video_shader_read_conf_cgp(conf.get(), shader.get()))
|
if (!video_shader_read_conf_cgp(conf.get(), shader.get()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user