Android: Use user directory for memcard root
This commit is contained in:
parent
93087d3c45
commit
a5e316b916
|
@ -63,7 +63,8 @@ public class MemoryCardImage {
|
|||
}
|
||||
|
||||
public static Uri[] getCardUris(Context context) {
|
||||
final String directory = "/sdcard/duckstation/memcards";
|
||||
final String directory = String.format("%s/memcards",
|
||||
AndroidHostInterface.getUserDirectory());
|
||||
final ArrayList<Uri> results = new ArrayList<>();
|
||||
|
||||
if (directory.charAt(0) == '/') {
|
||||
|
|
Loading…
Reference in New Issue