mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-13 07:36:52 +00:00
Merge pull request #4142 from Themaister/master
Correctly check errors if preset cannot be found.
This commit is contained in:
commit
37d129a13d
@ -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…
x
Reference in New Issue
Block a user