mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +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;
|
||||
|
||||
unique_ptr<config_file_t, ConfigDeleter> conf{ config_file_new(path) };
|
||||
if (!path)
|
||||
if (!conf)
|
||||
return nullptr;
|
||||
|
||||
if (!video_shader_read_conf_cgp(conf.get(), shader.get()))
|
||||
|
Loading…
Reference in New Issue
Block a user