mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
video_shader_read_reference_path - simplify
This commit is contained in:
parent
09f72c1465
commit
91d78c1e9f
@ -763,11 +763,8 @@ static char *video_shader_read_reference_path(const char *path)
|
||||
}
|
||||
|
||||
/* rebase relative reference path */
|
||||
if (!path_is_absolute(ref_path))
|
||||
fill_pathname_resolve_relative(reference,
|
||||
path, ref_path, PATH_MAX_LENGTH);
|
||||
else
|
||||
strlcpy(reference, ref_path, PATH_MAX_LENGTH);
|
||||
fill_pathname_resolve_relative(reference,
|
||||
path, ref_path, PATH_MAX_LENGTH);
|
||||
}
|
||||
|
||||
if (line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user