diff options
author | Thanasis Antoniou | 2019-09-15 00:28:44 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-09-15 00:28:44 +0300 |
commit | 1fd01c82ae67861a6a8fbc26d2a3ff7be28e7199 (patch) | |
tree | 4cb2bdacc79741e27b441bc9dde9a14368becb0b /backends | |
parent | 8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012 (diff) | |
download | scummvm-rg350-1fd01c82ae67861a6a8fbc26d2a3ff7be28e7199.tar.gz scummvm-rg350-1fd01c82ae67861a6a8fbc26d2a3ff7be28e7199.tar.bz2 scummvm-rg350-1fd01c82ae67861a6a8fbc26d2a3ff7be28e7199.zip |
ANDROID: Set default browser_lastpath to /storage
Avoid use of get_env
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/android/android.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp index 7c5608f9ae..288e662bb4 100644 --- a/backends/platform/android/android.cpp +++ b/backends/platform/android/android.cpp @@ -295,8 +295,8 @@ 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("browser_lastpath")) + ConfMan.set("browser_lastpath", "/storage"); if (ConfMan.hasKey("touchpad_mouse_mode")) _touchpad_mode = ConfMan.getBool("touchpad_mouse_mode"); |