mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Android: Fix jobject/jclass warnings
Static methods use jclass, and non-static methods use jobject.
This commit is contained in:
parent
6a4ac74ec4
commit
57dc54144d
3 changed files with 55 additions and 58 deletions
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue