mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
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
|
||||
*/
|
||||
private String getCorePath() {
|
||||
return getApplicationInfo().dataDir + "/cores/";
|
||||
String path = getApplicationInfo().dataDir + "/cores/";
|
||||
new File(path).mkdirs();
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user