Android: Fix jobject/jclass warnings

Static methods use jclass, and non-static methods use jobject.
This commit is contained in:
JosJuice committed 2020-11-07 12:06:57 +01:00
1 parent 6a4ac74ec4
commit 57dc54144d
3 files changed
+55 -58

No files matched your search

@@ -28,7 +28,7 @@ extern "C" {
#endif
JNIEXPORT jlong JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_newGameFileCache(
JNIEnv* env, jobject obj, jstring path)
JNIEnv* env, jclass obj, jstring path)
{
return reinterpret_cast<jlong>(new UICommon::GameFileCache(GetJString(env, path)));
}