Skip to content

Commit

Permalink
Android/JNI: Remove odd usage of the comma operator
Browse files Browse the repository at this point in the history
This was probably a copypaste mistake of mine.
(env is used as the first argument when calling ToJString.)
  • Loading branch information
JosJuice committed Mar 18, 2020
1 parent bb430fb commit 868cc15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Android/jni/GameList/GameFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 868cc15

Please sign in to comment.