Merge pull request #11905 from farmerbb/master

Android (Play Store): ensure that `cores` directory exists before attempting to create symlinks
This commit is contained in:
Autechre 2021-01-19 05:25:00 +01:00 committed by GitHub
commit e044b0eeec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -537,7 +537,10 @@ public class RetroActivityCommon extends NativeActivity
* @return The path to the RetroArch cores directory
*/
private String getCorePath() {
return getApplicationInfo().dataDir + "/cores/";
String path = getApplicationInfo().dataDir + "/cores/";
new File(path).mkdirs();
return path;
}
/**