mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Rewrite Platform::GetInstallPath
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
#ifdef __ANDROID__
|
||||
|
||||
#include <cassert>
|
||||
#include "Platform2.h"
|
||||
|
||||
namespace Platform
|
||||
@@ -39,6 +40,17 @@ namespace Platform
|
||||
{
|
||||
return std::string();
|
||||
}
|
||||
|
||||
std::string GetInstallPath()
|
||||
{
|
||||
return "/sdcard/openrct2";
|
||||
}
|
||||
|
||||
std::string GetCurrentExecutablePath()
|
||||
{
|
||||
assert(false, "GetCurrentExecutablePath() not implemented for Android.");
|
||||
return std::string();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user