diff options
| author | JosJuice <josjuice@gmail.com> | 2020-11-06 19:04:24 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-11-07 12:06:57 +0100 |
| commit | 57dc54144d67bf76f993966b6b8b672b04da8aa3 (patch) | |
| tree | b3b20da55d37f1f873e51c5bdb709d34a703e5a3 /Source/Android/jni/GameList/GameFile.cpp | |
| parent | 6a4ac74ec407a20b0347c4c764ca528e8d692cc1 (diff) | |
Android: Fix jobject/jclass warnings
Static methods use jclass, and non-static methods use jobject.
Diffstat (limited to 'Source/Android/jni/GameList/GameFile.cpp')
| -rw-r--r-- | Source/Android/jni/GameList/GameFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/jni/GameList/GameFile.cpp b/Source/Android/jni/GameList/GameFile.cpp index 0ddee67c12..9dd512ec5b 100644 --- a/Source/Android/jni/GameList/GameFile.cpp +++ b/Source/Android/jni/GameList/GameFile.cpp @@ -188,7 +188,7 @@ JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getBannerHe } JNIEXPORT jobject JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_parse(JNIEnv* env, - jobject obj, + jclass obj, jstring path) { auto game_file = std::make_shared<UICommon::GameFile>(GetJString(env, path)); |
