[Scummvm-git-logs] scummvm master -> 7360b651b1d07b7881e56c9c176afcb2a042c9b2
sev-
sev at scummvm.org
Fri Sep 16 18:32:32 CEST 2016
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cc945d6105 ANDROIDSDL: default config key browser_lastpath changed to '/storage'
7360b651b1 Merge pull request #829 from lubomyr/master
Commit: cc945d6105114ab46271ff625ba514b40d0e7ecf
https://github.com/scummvm/scummvm/commit/cc945d6105114ab46271ff625ba514b40d0e7ecf
Author: lubomyr (lubomyr31 at gmail.com)
Date: 2016-09-16T18:07:45+02:00
Commit Message:
ANDROIDSDL: default config key browser_lastpath changed to '/storage'
Changed paths:
backends/platform/androidsdl/androidsdl-sdl.cpp
diff --git a/backends/platform/androidsdl/androidsdl-sdl.cpp b/backends/platform/androidsdl/androidsdl-sdl.cpp
index 5e0eaa0..667b033 100644
--- a/backends/platform/androidsdl/androidsdl-sdl.cpp
+++ b/backends/platform/androidsdl/androidsdl-sdl.cpp
@@ -20,18 +20,24 @@
*
*/
+#include "common/config-manager.h"
+
#include "backends/platform/androidsdl/androidsdl-sdl.h"
#include "backends/events/androidsdl/androidsdl-events.h"
#include "backends/graphics/androidsdl/androidsdl-graphics.h"
void OSystem_ANDROIDSDL::initBackend() {
// Create the backend custom managers
+
if (_eventSource == 0)
_eventSource = new AndroidSdlEventSource();
if (_graphicsManager == 0)
_graphicsManager = new AndroidSdlGraphicsManager(_eventSource, _window);
+ if (!ConfMan.hasKey("browser_lastpath"))
+ ConfMan.set("browser_lastpath", "/storage");
+
// Call parent implementation of this method
OSystem_POSIX::initBackend();
}
Commit: 7360b651b1d07b7881e56c9c176afcb2a042c9b2
https://github.com/scummvm/scummvm/commit/7360b651b1d07b7881e56c9c176afcb2a042c9b2
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-16T18:32:29+02:00
Commit Message:
Merge pull request #829 from lubomyr/master
ANDROIDSDL: default config key browser_lastpath changed to '/storage'
Changed paths:
backends/platform/androidsdl/androidsdl-sdl.cpp
More information about the Scummvm-git-logs
mailing list