diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-09-15 05:46:19 +0200 |
---|---|---|
committer | Charles Lombardo <clombardo169@gmail.com> | 2023-09-15 05:46:19 +0200 |
commit | 832a2fcc6923164e16480400c6dbb8803b0f5521 (patch) | |
tree | 764671c7f0159b9db026401ed3309ce86c2ca27b /src/android/app/src/main/jni/native.cpp | |
parent | Merge pull request #11507 from t895/emulation-stop-fix (diff) | |
download | yuzu-832a2fcc6923164e16480400c6dbb8803b0f5521.tar yuzu-832a2fcc6923164e16480400c6dbb8803b0f5521.tar.gz yuzu-832a2fcc6923164e16480400c6dbb8803b0f5521.tar.bz2 yuzu-832a2fcc6923164e16480400c6dbb8803b0f5521.tar.lz yuzu-832a2fcc6923164e16480400c6dbb8803b0f5521.tar.xz yuzu-832a2fcc6923164e16480400c6dbb8803b0f5521.tar.zst yuzu-832a2fcc6923164e16480400c6dbb8803b0f5521.zip |
Diffstat (limited to '')
-rw-r--r-- | src/android/app/src/main/jni/native.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp index 8a2021ff0..f31fe054b 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp @@ -670,18 +670,6 @@ jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isPaused(JNIEnv* env, jclass claz return static_cast<jboolean>(EmulationSession::GetInstance().IsPaused()); } -void Java_org_yuzu_yuzu_1emu_NativeLibrary_muteAduio(JNIEnv* env, jclass clazz) { - Settings::values.audio_muted = true; -} - -void Java_org_yuzu_yuzu_1emu_NativeLibrary_unmuteAudio(JNIEnv* env, jclass clazz) { - Settings::values.audio_muted = false; -} - -jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isMuted(JNIEnv* env, jclass clazz) { - return static_cast<jboolean>(Settings::values.audio_muted.GetValue()); -} - jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isHandheldOnly(JNIEnv* env, jclass clazz) { return EmulationSession::GetInstance().IsHandheldOnly(); } |