mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
ANDROIDSDL: default config key browser_lastpath changed to '/storage'
This commit is contained in:
parent
bae1f67b65
commit
cc945d6105
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user