mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
if using app dir and paths do not exist, create them
This commit is contained in:
parent
5bd889ac02
commit
d9b125a645
@ -773,7 +773,8 @@ static void frontend_android_get_environment_settings(int *argc,
|
||||
else
|
||||
{
|
||||
fill_pathname_join(g_defaults.core_assets_dir,
|
||||
app_dir, "downloads", sizeof(g_defaults.core_assets_dir));
|
||||
app_dir, "downloads", sizeof(g_defaults.core_assets_dir));
|
||||
path_mkdir(g_defaults.core_assets_dir);
|
||||
}
|
||||
if(*screenshot_dir && test_permissions(screenshot_dir))
|
||||
{
|
||||
@ -784,6 +785,7 @@ static void frontend_android_get_environment_settings(int *argc,
|
||||
{
|
||||
fill_pathname_join(g_defaults.screenshot_dir,
|
||||
app_dir, "screenshots", sizeof(g_defaults.screenshot_dir));
|
||||
path_mkdir(g_defaults.screenshot_dir);
|
||||
}
|
||||
|
||||
switch (perms)
|
||||
|
Loading…
x
Reference in New Issue
Block a user