diff options
author | Thanasis Antoniou | 2019-09-15 00:20:11 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-09-15 00:21:40 +0300 |
commit | 8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012 (patch) | |
tree | 8b89d5e91c026a9b456dfdb7af404d2ee3631acc /backends | |
parent | a46b68489409076d61e26a8b8e71c56e123f49b2 (diff) | |
download | scummvm-rg350-8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012.tar.gz scummvm-rg350-8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012.tar.bz2 scummvm-rg350-8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012.zip |
ANDROID: Set default browser_lastpath
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/android/android.cpp | 3 |
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 |