aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android
diff options
context:
space:
mode:
authorThanasis Antoniou2019-09-15 00:20:11 +0300
committerThanasis Antoniou2019-09-15 00:21:40 +0300
commit8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012 (patch)
tree8b89d5e91c026a9b456dfdb7af404d2ee3631acc /backends/platform/android
parenta46b68489409076d61e26a8b8e71c56e123f49b2 (diff)
downloadscummvm-rg350-8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012.tar.gz
scummvm-rg350-8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012.tar.bz2
scummvm-rg350-8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012.zip
ANDROID: Set default browser_lastpath
Diffstat (limited to 'backends/platform/android')
-rw-r--r--backends/platform/android/android.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp
index 67657b732e..7c5608f9ae 100644
--- a/backends/platform/android/android.cpp
+++ b/backends/platform/android/android.cpp
@@ -295,6 +295,9 @@ void OSystem_Android::initBackend() {
ConfMan.setBool("FM_high_quality", false);
ConfMan.setBool("FM_medium_quality", true);
+ if (!ConfMan.hasKey("browser_lastpath") || (ConfMan.hasKey("browser_lastpath") && (ConfMan.get("browser_lastpath") == "/storage")))
+ ConfMan.set("browser_lastpath", getenv("SDCARD"));
+
if (ConfMan.hasKey("touchpad_mouse_mode"))
_touchpad_mode = ConfMan.getBool("touchpad_mouse_mode");
else