JNI_Unload must return the JNI version needed by the native library

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2025-11-26 14:04:02 +01:00
1 parent 21f93e127b
commit eda8d1d842
1 file changed
+1 -2
+1 -2
View File
@@ -184,7 +184,6 @@ Sint32 JNI_OnLoad(JavaVM *vm, void *reserved)
{
(void)vm;
(void)reserved;
SDL_Unsupported();
return -1; // JNI_ERR
return 0x00010004; // JNI_VERSION_1_4
}
#endif