diff options
author | Alyssa Milburn | 2011-10-27 14:16:22 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-10-28 12:11:50 +0200 |
commit | dc649a13a7ed1721160140298aa4f1c9fd4b65d9 (patch) | |
tree | 84e10f54c387bb214e1b2cd67f0e37c40846f7cc /backends | |
parent | 7f2b2e99f8cea8258b0a28ca40ce46abd5d17347 (diff) | |
download | scummvm-rg350-dc649a13a7ed1721160140298aa4f1c9fd4b65d9.tar.gz scummvm-rg350-dc649a13a7ed1721160140298aa4f1c9fd4b65d9.tar.bz2 scummvm-rg350-dc649a13a7ed1721160140298aa4f1c9fd4b65d9.zip |
ANDROID: Actually create the savegame directory.
Not sure how this went missing from the commit.
(cherry picked from commit fed26146a855fc79784c3df0ae3a1bf068fc2722)
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java index 7c61520d43..fbd6513761 100644 --- a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java +++ b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java @@ -134,6 +134,7 @@ public class ScummVMActivity extends Activity { // world-readable and don't get deleted on uninstall. String savePath = Environment.getExternalStorageDirectory() + "/ScummVM/Saves/"; File saveDir = new File(savePath); + saveDir.mkdirs(); if (!saveDir.isDirectory()) { // If it doesn't work, resort to the internal app path. savePath = getDir("saves", MODE_WORLD_READABLE).getPath(); |