Android: Fix jobject/jclass warnings
Static methods use jclass, and non-static methods use jobject.
This commit is contained in:
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)));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user