Revert "(iOS) Use the sandboxed Documents directory"

This reverts commit 13b8b957b2396eeb751b4cf145c515cb3c764d42.
This commit is contained in:
Twinaphex 2015-11-19 02:38:18 +01:00
parent 9376e8f019
commit 0223290fad

View File

@ -334,12 +334,7 @@ static void frontend_darwin_get_environment_settings(int *argc, char *argv[],
CFSearchPathForDirectoriesInDomains(CFDocumentDirectory, CFUserDomainMask, 1, home_dir_buf, sizeof(home_dir_buf));
#if TARGET_OS_IPHONE
/* Use the sandboxed Documents directory */
strlcat(home_dir_buf, "/", sizeof(home_dir_buf));
#else
strlcat(home_dir_buf, "/RetroArch", sizeof(home_dir_buf));
#endif
fill_pathname_join(g_defaults.dir.shader, home_dir_buf, "shaders_glsl", sizeof(g_defaults.dir.shader));
fill_pathname_join(g_defaults.dir.core, home_dir_buf, "cores", sizeof(g_defaults.dir.core));
fill_pathname_join(g_defaults.dir.core_info, home_dir_buf, "info", sizeof(g_defaults.dir.core_info));