[Scummvm-git-logs] scummvm master -> 8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012

antoniou79 antoniou at cti.gr
Sat Sep 14 23:22:38 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8ca76c65fc ANDROID: Set default browser_lastpath


Commit: 8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012
    https://github.com/scummvm/scummvm/commit/8ca76c65fcdd1f9d9e7ea58aed04eadef7ed2012
Author: Thanasis Antoniou (a.antoniou79 at gmail.com)
Date: 2019-09-15T00:21:40+03:00

Commit Message:
ANDROID: Set default browser_lastpath

Changed paths:
    backends/platform/android/android.cpp


diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp
index 67657b7..7c5608f 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





More information about the Scummvm-git-logs mailing list