add screenshot dir

This commit is contained in:
radius 2015-10-03 11:24:17 -05:00
parent 13f2cce9a1
commit 1f52b81a28

View File

@ -126,10 +126,17 @@ void main_exit(void *args)
static void check_defaults_dirs(void)
{
settings_t *settings = NULL;
settings = config_get_ptr();
if (*g_defaults.dir.core_assets)
path_mkdir(g_defaults.dir.core_assets);
if (*g_defaults.dir.remap)
path_mkdir(g_defaults.dir.remap);
if (*g_defaults.dir.screenshot)
path_mkdir(g_defaults.dir.screenshot);
if (*g_defaults.dir.core)
path_mkdir(g_defaults.dir.core);
if (*g_defaults.dir.autoconfig)
path_mkdir(g_defaults.dir.autoconfig);
if (*g_defaults.dir.audio_filter)