Use config_file_read in more places

This commit is contained in:
twinaphex 2019-04-22 02:20:04 +02:00
parent 317a443741
commit 146b4ccc50
5 changed files with 5 additions and 5 deletions

View File

@ -346,7 +346,7 @@ static bool d3d10_gfx_set_shader(void* data,
return false; return false;
} }
conf = config_file_new(path); conf = config_file_read(path);
if (!conf) if (!conf)
return false; return false;

View File

@ -364,7 +364,7 @@ static bool d3d11_gfx_set_shader(void* data, enum rarch_shader_type type, const
return false; return false;
} }
conf = config_file_new(path); conf = config_file_read(path);
if (!conf) if (!conf)
return false; return false;

View File

@ -353,7 +353,7 @@ static bool d3d12_gfx_set_shader(void* data, enum rarch_shader_type type, const
return false; return false;
} }
config_file_t* conf = config_file_new(path); config_file_t* conf = config_file_read(path);
if (!conf) if (!conf)
return false; return false;

View File

@ -364,7 +364,7 @@ static bool d3d9_init_multipass(d3d9_video_t *d3d, const char *shader_path)
unsigned i; unsigned i;
bool use_extra_pass = false; bool use_extra_pass = false;
struct video_shader_pass *pass = NULL; 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) if (!conf)
{ {

View File

@ -1424,7 +1424,7 @@ static bool wiiu_gfx_set_shader(void *data,
if (!path) if (!path)
return true; return true;
config_file_t *conf = config_file_new(path); config_file_t *conf = config_file_read(path);
if (!conf) if (!conf)
return false; return false;