From d0146e7d49fbef097e135745ec5b8c1cfc59a86f Mon Sep 17 00:00:00 2001 From: Velaron Date: Wed, 1 Nov 2023 11:36:52 +0200 Subject: [PATCH] android: fix build --- filesystem/android.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filesystem/android.c b/filesystem/android.c index 6be9744672..f7f0910df8 100644 --- a/filesystem/android.c +++ b/filesystem/android.c @@ -320,8 +320,8 @@ void FS_InitAndroid( void ) { jmethodID getContext; - jni.env = (JNIEnv *)Platform_GetNativeObject( "JNIEnv" ); - jni.activity_class = Platform_GetNativeObject( "ActivityClass" ); + jni.env = (JNIEnv *)Sys_GetNativeObject( "JNIEnv" ); + jni.activity_class = Sys_GetNativeObject( "ActivityClass" ); getContext = (*jni.env)->GetStaticMethodID( jni.env, jni.activity_class, "getContext", "()Landroid/content/Context;" ); jni.activity = (*jni.env)->CallStaticObjectMethod( jni.env, jni.activity_class, getContext );