1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Rewrite Platform::GetInstallPath

This commit is contained in:
Ted John
2017-12-01 23:48:46 +00:00
parent 114dd097da
commit 87cd9f88b3
15 changed files with 258 additions and 266 deletions

View File

@@ -24,11 +24,6 @@
#include <jni.h>
#include <SDL.h>
void platform_get_exe_path(utf8 *outPath, size_t outSize)
{
safe_strcpy(outPath, "/sdcard/openrct2", outSize);
}
#ifndef NO_TTF
bool platform_get_font_path(TTFFontDescriptor *font, utf8 *buffer, size_t size)
{
@@ -37,11 +32,6 @@ bool platform_get_font_path(TTFFontDescriptor *font, utf8 *buffer, size_t size)
}
#endif
void platform_posix_sub_resolve_openrct_data_path(utf8 *out, size_t size) {
safe_strcpy(out, "/sdcard/openrct2", size);
}
uint16 platform_get_locale_language() {
return LANGUAGE_ENGLISH_UK;
}