summaryrefslogtreecommitdiff
path: root/Source/Android/jni/GameList/GameFile.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-03-18 12:37:28 +0100
committerJosJuice <josjuice@gmail.com>2020-03-18 12:37:28 +0100
commit868cc15b71e1115d0bbc1c37bd18dcf1b0376226 (patch)
tree81a315729fbfc14fa2f10ef2e4fcdcb667fb9f95 /Source/Android/jni/GameList/GameFile.cpp
parentbb430fb5a521833fa6c7df0170e17b09ccb63837 (diff)
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.)
Diffstat (limited to 'Source/Android/jni/GameList/GameFile.cpp')
-rw-r--r--Source/Android/jni/GameList/GameFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Android/jni/GameList/GameFile.cpp b/Source/Android/jni/GameList/GameFile.cpp
index 419a4694a5..efad21681f 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,