Android (Play Store): ensure that cores directory exists before attempting to create symlinks

This commit is contained in:
Braden Farmer 2021-01-18 21:20:08 -07:00
parent 18170486cd
commit 61b817ca68

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;
}
/**