mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
Android (Play Store): ensure that cores
directory exists before attempting to create symlinks
This commit is contained in:
parent
18170486cd
commit
61b817ca68
@ -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