mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Move remaining stuff in Android.cpp
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#ifdef __ANDROID__
|
||||
|
||||
# include "../platform/Platform2.h"
|
||||
# include "../platform/platform.h"
|
||||
# include "IStream.hpp"
|
||||
# include "MemoryStream.h"
|
||||
@@ -30,7 +31,7 @@ public:
|
||||
// retrieve the JNI environment.
|
||||
JNIEnv* env = (JNIEnv*)SDL_AndroidGetJNIEnv();
|
||||
|
||||
jclass jniClass = platform_android_find_class(env, "io/openrct2/ZipArchive");
|
||||
jclass jniClass = Platform::AndroidFindClass(env, "io/openrct2/ZipArchive");
|
||||
jmethodID constructor = env->GetMethodID(jniClass, "<init>", "(Ljava/lang/String;)V");
|
||||
|
||||
jstring jniPath = env->NewStringUTF(path.data());
|
||||
|
||||
Reference in New Issue
Block a user