Use config_file_read in more places
This commit is contained in:
parent
317a443741
commit
146b4ccc50
|
@ -346,7 +346,7 @@ static bool d3d10_gfx_set_shader(void* data,
|
|||
return false;
|
||||
}
|
||||
|
||||
conf = config_file_new(path);
|
||||
conf = config_file_read(path);
|
||||
|
||||
if (!conf)
|
||||
return false;
|
||||
|
|
|
@ -364,7 +364,7 @@ static bool d3d11_gfx_set_shader(void* data, enum rarch_shader_type type, const
|
|||
return false;
|
||||
}
|
||||
|
||||
conf = config_file_new(path);
|
||||
conf = config_file_read(path);
|
||||
|
||||
if (!conf)
|
||||
return false;
|
||||
|
|
|
@ -353,7 +353,7 @@ static bool d3d12_gfx_set_shader(void* data, enum rarch_shader_type type, const
|
|||
return false;
|
||||
}
|
||||
|
||||
config_file_t* conf = config_file_new(path);
|
||||
config_file_t* conf = config_file_read(path);
|
||||
|
||||
if (!conf)
|
||||
return false;
|
||||
|
|
|
@ -364,7 +364,7 @@ static bool d3d9_init_multipass(d3d9_video_t *d3d, const char *shader_path)
|
|||
unsigned i;
|
||||
bool use_extra_pass = false;
|
||||
struct video_shader_pass *pass = NULL;
|
||||
config_file_t *conf = config_file_new(shader_path);
|
||||
config_file_t *conf = config_file_read(shader_path);
|
||||
|
||||
if (!conf)
|
||||
{
|
||||
|
|
|
@ -1424,7 +1424,7 @@ static bool wiiu_gfx_set_shader(void *data,
|
|||
if (!path)
|
||||
return true;
|
||||
|
||||
config_file_t *conf = config_file_new(path);
|
||||
config_file_t *conf = config_file_read(path);
|
||||
|
||||
if (!conf)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue