{"action":"created","issue":{"url":"https://api.github.com/repos/libretro/RetroArch/issues/1455","labels_url":"https://api.github.com/repos/libretro/RetroArch/issues/1455/labels{/name}","comments_url":"https://api.github.com/repos/libretro/RetroArch/issues/1455/comments","events_url":"https://api.github.com/repos/libretro/RetroArch/issues/1455/events","html_url":"https://github.com/libretro/RetroArch/pull/1455","id":59351494,"number":1455,"title":" Fix getDefaultConfigPath not correctly looking up external and internal data directories","user":{"login":"PetePriority","id":8421182,"avatar_url":"https://avatars.githubusercontent.com/u/8421182?v=3","gravatar_id":"","url":"https://api.github.com/users/PetePriority","html_url":"https://github.com/PetePriority","followers_url":"https://api.github.com/users/PetePriority/followers","following_url":"https://api.github.com/users/PetePriority/following{/other_user}","gists_url":"https://api.github.com/users/PetePriority/gists{/gist_id}","starred_url":"https://api.github.com/users/PetePriority/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PetePriority/subscriptions","organizations_url":"https://api.github.com/users/PetePriority/orgs","repos_url":"https://api.github.com/users/PetePriority/repos","events_url":"https://api.github.com/users/PetePriority/events{/privacy}","received_events_url":"https://api.github.com/users/PetePriority/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-28T18:12:54Z","updated_at":"2015-03-06T02:20:02Z","closed_at":"2015-02-28T18:57:01Z","pull_request":{"url":"https://api.github.com/repos/libretro/RetroArch/pulls/1455","html_url":"https://github.com/libretro/RetroArch/pull/1455","diff_url":"https://github.com/libretro/RetroArch/pull/1455.diff","patch_url":"https://github.com/libretro/RetroArch/pull/1455.patch"},"body":"getDefaultConfigPath was not correctly looking up internal and external storage dirs. Instead, it returned a wrong path (/data/data/com.retroarch/ instead of /data/data/com.retroarch/files) and also defaulted to private internal storage.\r\n\r\nWith this patch, it first checks whether external storage is available. If not, it uses the private storage in /data/data/com.retroarch/files and configuration changes should now be persistent.\r\nIf external storage is present, it will save the configuration files in /sdcard/emulated/legacy/Android/data/com.retroarch/files, where the configuration is user accesible, even if the device is not rooted."},"comment":{"url":"https://api.github.com/repos/libretro/RetroArch/issues/comments/77494979","html_url":"https://github.com/libretro/RetroArch/pull/1455#issuecomment-77494979","issue_url":"https://api.github.com/repos/libretro/RetroArch/issues/1455","id":77494979,"user":{"login":"blockfeed","id":7493835,"avatar_url":"https://avatars.githubusercontent.com/u/7493835?v=3","gravatar_id":"","url":"https://api.github.com/users/blockfeed","html_url":"https://github.com/blockfeed","followers_url":"https://api.github.com/users/blockfeed/followers","following_url":"https://api.github.com/users/blockfeed/following{/other_user}","gists_url":"https://api.github.com/users/blockfeed/gists{/gist_id}","starred_url":"https://api.github.com/users/blockfeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blockfeed/subscriptions","organizations_url":"https://api.github.com/users/blockfeed/orgs","repos_url":"https://api.github.com/users/blockfeed/repos","events_url":"https://api.github.com/users/blockfeed/events{/privacy}","received_events_url":"https://api.github.com/users/blockfeed/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T02:20:02Z","updated_at":"2015-03-06T02:20:02Z","body":"Data point: On a Nexus 6 (5.0.2 rooted, no external SD), /data/data/com.retroarch/files appears to be empty, and Retroarch is saving files to /sdcard/Android/data/com.retroarch."}}