Android/JNI: Remove odd usage of the comma operator

This was probably a copypaste mistake of mine.
(env is used as the first argument when calling ToJString.)
This commit is contained in:
JosJuice 2020-03-18 12:37:28 +01:00
parent bb430fb5a5
commit 868cc15b71
1 changed files with 2 additions and 2 deletions

View File

@ -134,13 +134,13 @@ JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getGameT
JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getDiscNumber(JNIEnv* env,
jobject obj)
{
return env, GetRef(env, obj)->GetDiscNumber();
return GetRef(env, obj)->GetDiscNumber();
}
JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getRevision(JNIEnv* env,
jobject obj)
{
return env, GetRef(env, obj)->GetRevision();
return GetRef(env, obj)->GetRevision();
}
JNIEXPORT jintArray JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getBanner(JNIEnv* env,