mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 19:22:39 +00:00
Android: Convert ARCheat to Kotlin
This commit is contained in:
parent
211be4698f
commit
408b6cb50c
4 changed files with 54 additions and 62 deletions
|
@ -500,7 +500,7 @@ JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved)
|
|||
const jclass ar_cheat_class =
|
||||
env->FindClass("org/dolphinemu/dolphinemu/features/cheats/model/ARCheat");
|
||||
s_ar_cheat_class = reinterpret_cast<jclass>(env->NewGlobalRef(ar_cheat_class));
|
||||
s_ar_cheat_pointer = env->GetFieldID(ar_cheat_class, "mPointer", "J");
|
||||
s_ar_cheat_pointer = env->GetFieldID(ar_cheat_class, "pointer", "J");
|
||||
s_ar_cheat_constructor = env->GetMethodID(ar_cheat_class, "<init>", "(J)V");
|
||||
env->DeleteLocalRef(ar_cheat_class);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue