mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-18 23:04:25 +00:00
Cleanups
This commit is contained in:
parent
9d5684639e
commit
dccdd521ea
14
dirs.c
14
dirs.c
@ -49,10 +49,13 @@ static char current_savefile_dir[PATH_MAX_LENGTH] = {0};
|
||||
static char current_savestate_dir[PATH_MAX_LENGTH] = {0};
|
||||
static char dir_savestate[PATH_MAX_LENGTH] = {0};
|
||||
|
||||
static bool shader_dir_init(struct rarch_dir_list *dir_list)
|
||||
/* init functions */
|
||||
|
||||
bool dir_init_shader(void)
|
||||
{
|
||||
unsigned i;
|
||||
settings_t *settings = config_get_ptr();
|
||||
struct rarch_dir_list *dir_list = (struct rarch_dir_list*)&dir_shader_list;
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (!*settings->directory.video_shader)
|
||||
return false;
|
||||
@ -76,13 +79,6 @@ static bool shader_dir_init(struct rarch_dir_list *dir_list)
|
||||
return true;
|
||||
}
|
||||
|
||||
/* init functions */
|
||||
|
||||
bool dir_init_shader(void)
|
||||
{
|
||||
return shader_dir_init(&dir_shader_list);
|
||||
}
|
||||
|
||||
/* free functions */
|
||||
|
||||
bool dir_free_shader(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user