From dc649a13a7ed1721160140298aa4f1c9fd4b65d9 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Thu, 27 Oct 2011 14:16:22 +0200 Subject: ANDROID: Actually create the savegame directory. Not sure how this went missing from the commit. (cherry picked from commit fed26146a855fc79784c3df0ae3a1bf068fc2722) --- backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v1.2.3