mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 08:19:19 +00:00
ANDROID: Use more portable directory query method
This commit is contained in:
parent
6d82e7ee26
commit
b585b925e5
@ -231,7 +231,7 @@ public class ScummVMActivity extends Activity {
|
||||
saveDir.mkdirs();
|
||||
if (!saveDir.isDirectory()) {
|
||||
// If it doesn't work, resort to the internal app path.
|
||||
savePath = getDir("saves", MODE_WORLD_READABLE).getPath();
|
||||
savePath = getDir("saves", Context.MODE_PRIVATE).getPath();
|
||||
}
|
||||
|
||||
_clipboard = (ClipboardManager)getSystemService(CLIPBOARD_SERVICE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user