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:
commit
e044b0eeec
|
@ -537,7 +537,10 @@ public class RetroActivityCommon extends NativeActivity
|
||||||
* @return The path to the RetroArch cores directory
|
* @return The path to the RetroArch cores directory
|
||||||
*/
|
*/
|
||||||
private String getCorePath() {
|
private String getCorePath() {
|
||||||
return getApplicationInfo().dataDir + "/cores/";
|
String path = getApplicationInfo().dataDir + "/cores/";
|
||||||
|
new File(path).mkdirs();
|
||||||
|
|
||||||
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue