diff --git a/native/project/jni/chess b/native/project/jni/chess index e6ebb1ab..20de458c 100755 Binary files a/native/project/jni/chess and b/native/project/jni/chess differ diff --git a/native/project/jni/chess-jni.cpp b/native/project/jni/chess-jni.cpp index d1a54459..97bda5be 100755 --- a/native/project/jni/chess-jni.cpp +++ b/native/project/jni/chess-jni.cpp @@ -320,7 +320,7 @@ static JNINativeMethod sMethods[] = { {"isLegalPosition", "()I", (void*)Java_jwtc_chess_JNI_isLegalPosition}, {"isAmbiguousCastle", "(II)I", (void*)Java_jwtc_chess_JNI_isAmbiguousCastle}, {"doCastleMove", "(II)I", (void*)Java_jwtc_chess_JNI_doCastleMove}, - {"toFEN", "()Ljava/lang/String;", (void*)JNICALL Java_jwtc_chess_JNI_toFEN}, + {"toFEN", "()Ljava/lang/String;", (void*)Java_jwtc_chess_JNI_toFEN}, {"removePiece", "(II)V", (void*)Java_jwtc_chess_JNI_removePiece}, {"getHashKey", "()J", (void*)Java_jwtc_chess_JNI_getHashKey}, {"loadDB", "(Ljava/lang/String;I)V", (void*)Java_jwtc_chess_JNI_loadDB},