mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 07:05:40 -04:00
[Mod installer] fixit
This commit is contained in:
parent
d00035d645
commit
2f9ca45270
@ -11,9 +11,11 @@
|
|||||||
// int printed = 0;
|
// int printed = 0;
|
||||||
JNIEXPORT jboolean JNICALL Java_net_kdt_pojavlaunch_JREUtils_renderAWTScreenFrame(JNIEnv* env, jclass clazz, jobject canvas, jint width, jint height) {
|
JNIEXPORT jboolean JNICALL Java_net_kdt_pojavlaunch_JREUtils_renderAWTScreenFrame(JNIEnv* env, jclass clazz, jobject canvas, jint width, jint height) {
|
||||||
if (runtimeJNIEnvPtr_ANDROID == NULL) {
|
if (runtimeJNIEnvPtr_ANDROID == NULL) {
|
||||||
isUseStackQueueCall = true;
|
if (runtimeJavaVMPtr == NULL) {
|
||||||
attachThread(true, &runtimeJNIEnvPtr_ANDROID);
|
return JNI_FALSE;
|
||||||
// return JNI_FALSE;
|
} else {
|
||||||
|
(*runtimeJavaVMPtr)->AttachCurrentThread(runtimeJavaVMPtr, &runtimeJNIEnvPtr_ANDROID, NULL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int *rgbArray;
|
int *rgbArray;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user