ANDROIDSDL: default config key browser_lastpath changed to '/storage'

This commit is contained in:
lubomyr 2016-09-16 18:07:45 +02:00
parent bae1f67b65
commit cc945d6105

View File

@ -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();
}