mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 02:08:16 +00:00
video_shader_driver_resolve_parameters - fix crash at startup with
MSVC
This commit is contained in:
parent
bb051f185b
commit
d203e4dc9c
@ -538,7 +538,8 @@ bool video_shader_resolve_parameters(config_file_t *conf,
|
||||
/* If that doesn't work, fallback to the old path.
|
||||
* Ideally, we'd get rid of this path sooner or later. */
|
||||
#endif
|
||||
file = filestream_open(path, RFILE_MODE_READ_TEXT, -1);
|
||||
if (!string_is_empty(path))
|
||||
file = filestream_open(path, RFILE_MODE_READ_TEXT, -1);
|
||||
|
||||
if (!file)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user