mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Cleanups
This commit is contained in:
parent
91d78c1e9f
commit
5fdf0c818d
@ -787,17 +787,15 @@ static char *video_shader_read_reference_path(const char *path)
|
||||
**/
|
||||
config_file_t *video_shader_read_preset(const char *path)
|
||||
{
|
||||
config_file_t *conf;
|
||||
char *reference = video_shader_read_reference_path(path);
|
||||
if (reference)
|
||||
{
|
||||
conf = config_file_new_from_path_to_string(reference);
|
||||
config_file_t *conf =
|
||||
config_file_new_from_path_to_string(reference);
|
||||
free(reference);
|
||||
return conf;
|
||||
}
|
||||
else
|
||||
conf = config_file_new_from_path_to_string(path);
|
||||
|
||||
return conf;
|
||||
return config_file_new_from_path_to_string(path);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user