diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-02-03 16:50:52 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-03 16:50:52 -0600 |
| commit | dd2b94cd4a71fb6abda72f58d27434ef2d8b0a5f (patch) | |
| tree | 5355c7878fc942b9b9ed79f2b9ca09923c5a8557 /Source/Android/jni/MainAndroid.cpp | |
| parent | eac7b290423efea867c2c7f3f2b2792d05418bdd (diff) | |
| parent | 2322437f96bc53f1edcd9100daedb5b54c6e0fc4 (diff) | |
Merge pull request #13594 from jordan-woyak/state-cleanups
State: Simplify interthread communication and general cleanups.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 7c78f49045..7112833403 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -310,19 +310,17 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_eglBindAPI(J } JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SaveState(JNIEnv*, jclass, - jint slot, - jboolean wait) + jint slot) { HostThreadLock guard; - State::Save(Core::System::GetInstance(), slot, wait); + State::Save(Core::System::GetInstance(), slot); } JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SaveStateAs(JNIEnv* env, jclass, - jstring path, - jboolean wait) + jstring path) { HostThreadLock guard; - State::SaveAs(Core::System::GetInstance(), GetJString(env, path), wait); + State::SaveAs(Core::System::GetInstance(), GetJString(env, path)); } JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_LoadState(JNIEnv*, jclass, |
