diff options
Diffstat (limited to 'backends/platform/androidsdl/androidsdl-sdl.cpp')
-rw-r--r-- | backends/platform/androidsdl/androidsdl-sdl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/androidsdl/androidsdl-sdl.cpp b/backends/platform/androidsdl/androidsdl-sdl.cpp index 5e0eaa0408..667b03345f 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(); } |