mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 08:48:13 +00:00
ANDROID: Actually create the savegame directory.
Not sure how this went missing from the commit. (cherry picked from commit fed26146a855fc79784c3df0ae3a1bf068fc2722)
This commit is contained in:
parent
7f2b2e99f8
commit
dc649a13a7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user