diff options
author | lubomyr | 2016-10-23 14:07:15 +0300 |
---|---|---|
committer | lubomyr | 2016-10-23 14:07:15 +0300 |
commit | 55f37714cad5d990340b7fd2a9d4db4cba66d55c (patch) | |
tree | 2a33bdcae25161987a52466870ff13d0c5e673d5 /backends/platform/androidsdl | |
parent | a0c2fca8e4d20480d6cca002240c4cbaccd181ee (diff) | |
download | scummvm-rg350-55f37714cad5d990340b7fd2a9d4db4cba66d55c.tar.gz scummvm-rg350-55f37714cad5d990340b7fd2a9d4db4cba66d55c.tar.bz2 scummvm-rg350-55f37714cad5d990340b7fd2a9d4db4cba66d55c.zip |
ANDROIDSDL: default storage-sdcard directory location getting direct from libSDL wrapper
Diffstat (limited to 'backends/platform/androidsdl')
-rw-r--r-- | backends/platform/androidsdl/androidsdl-sdl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/androidsdl/androidsdl-sdl.cpp b/backends/platform/androidsdl/androidsdl-sdl.cpp index 3d0429e098..d04512475a 100644 --- a/backends/platform/androidsdl/androidsdl-sdl.cpp +++ b/backends/platform/androidsdl/androidsdl-sdl.cpp @@ -20,6 +20,8 @@ * */ +#define FORBIDDEN_SYMBOL_EXCEPTION_getenv(a) + #include "common/config-manager.h" #include "backends/platform/androidsdl/androidsdl-sdl.h" @@ -36,7 +38,7 @@ void OSystem_ANDROIDSDL::initBackend() { _graphicsManager = new AndroidSdlGraphicsManager(_eventSource, _window); if (!ConfMan.hasKey("browser_lastpath")) - ConfMan.set("browser_lastpath", "/storage"); + ConfMan.set("browser_lastpath", getenv("SDCARD")); if (!ConfMan.hasKey("gfx_mode")) ConfMan.set("gfx_mode", "2x"); |