1 diff --git a/source/ps/GameSetup/Paths.cpp b/source/ps/GameSetup/Paths.cpp
2 index 474364e..bf084b4 100644
3 --- a/source/ps/GameSetup/Paths.cpp
4 +++ b/source/ps/GameSetup/Paths.cpp
5 @@ -155,32 +155,8 @@ Paths::Paths(const CmdLineArgs& args)
7 /*static*/ OsPath Paths::Root(const OsPath& argv0)
10 - return OsPath("/sdcard/0ad"); // TODO: this is kind of bogus
13 - // get full path to executable
14 - OsPath pathname = sys_ExecutablePathname(); // safe, but requires OS-specific implementation
15 - if(pathname.empty()) // failed, use argv[0] instead
18 - pathname = wrealpath(argv0);
19 - if(pathname.empty())
20 - WARN_IF_ERR(StatusFromErrno());
23 - // make sure it's valid
24 - if(!FileExists(pathname))
26 - LOGERROR("Cannot find executable (expected at '%s')", pathname.string8());
27 - WARN_IF_ERR(StatusFromErrno());
30 - for(size_t i = 0; i < 2; i++) // remove "system/name.exe"
31 - pathname = pathname.Parent();
36 + return OsPath(getenv("ZEROAD_ROOTDIR"));
39 /*static*/ OsPath Paths::RootData(const OsPath& argv0)