mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
make shaders unzip on shader_dir instead of a subdirectory for consistency
This commit is contained in:
parent
216da45b1e
commit
c78cf7dde6
@ -150,11 +150,11 @@ static int cb_update_shaders_cg(void *data, size_t len)
|
||||
{
|
||||
char shaderdir[PATH_MAX_LENGTH];
|
||||
settings_t *settings = config_get_ptr();
|
||||
fill_pathname_join(shaderdir, settings->video.shader_dir, "shaders_cg",
|
||||
/* fill_pathname_join(shaderdir, settings->video.shader_dir, "shaders_cg",
|
||||
sizeof(shaderdir));
|
||||
if (!path_file_exists(shaderdir))
|
||||
if (!path_mkdir(shaderdir))
|
||||
return -1;
|
||||
return -1;*/
|
||||
|
||||
return cb_generic_download(data, len, shaderdir);
|
||||
}
|
||||
@ -163,11 +163,11 @@ static int cb_update_shaders_glsl(void *data, size_t len)
|
||||
{
|
||||
char shaderdir[PATH_MAX_LENGTH];
|
||||
settings_t *settings = config_get_ptr();
|
||||
fill_pathname_join(shaderdir, settings->video.shader_dir, "shaders_glsl",
|
||||
/* fill_pathname_join(shaderdir, settings->video.shader_dir, "shaders_glsl",
|
||||
sizeof(shaderdir));
|
||||
if (!path_file_exists(shaderdir))
|
||||
if (!path_mkdir(shaderdir))
|
||||
return -1;
|
||||
return -1;*/
|
||||
|
||||
return cb_generic_download(data, len, shaderdir);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user