From 868cc15b71e1115d0bbc1c37bd18dcf1b0376226 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 18 Mar 2020 12:37:28 +0100 Subject: [PATCH] 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.) --- Source/Android/jni/GameList/GameFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Android/jni/GameList/GameFile.cpp b/Source/Android/jni/GameList/GameFile.cpp index 419a4694a5c5..efad21681f02 100644 --- a/Source/Android/jni/GameList/GameFile.cpp +++ b/Source/Android/jni/GameList/GameFile.cpp @@ -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,