mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Use local variable
This commit is contained in:
parent
857562bf9d
commit
2f39e4cd33
@ -500,7 +500,7 @@ bool video_shader_resolve_parameters(config_file_t *conf,
|
|||||||
/* If that doesn't work, fallback to the old path.
|
/* If that doesn't work, fallback to the old path.
|
||||||
* Ideally, we'd get rid of this path sooner or later. */
|
* Ideally, we'd get rid of this path sooner or later. */
|
||||||
#endif
|
#endif
|
||||||
file = filestream_open(shader->pass[i].source.path, RFILE_MODE_READ_TEXT, -1);
|
file = filestream_open(path, RFILE_MODE_READ_TEXT, -1);
|
||||||
|
|
||||||
if (!file)
|
if (!file)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user