diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-09-27 07:15:57 +0200 |
---|---|---|
committer | Charles Lombardo <clombardo169@gmail.com> | 2023-09-27 07:15:57 +0200 |
commit | 481f91cc345f3929530e1de33c607fe28e6221a2 (patch) | |
tree | 21dd5359f5180191c1983dae916da2aeef473adf | |
parent | Merge pull request #11602 from t895/case-fix (diff) | |
download | yuzu-481f91cc345f3929530e1de33c607fe28e6221a2.tar yuzu-481f91cc345f3929530e1de33c607fe28e6221a2.tar.gz yuzu-481f91cc345f3929530e1de33c607fe28e6221a2.tar.bz2 yuzu-481f91cc345f3929530e1de33c607fe28e6221a2.tar.lz yuzu-481f91cc345f3929530e1de33c607fe28e6221a2.tar.xz yuzu-481f91cc345f3929530e1de33c607fe28e6221a2.tar.zst yuzu-481f91cc345f3929530e1de33c607fe28e6221a2.zip |
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt index ea26a21d0..c73edd50e 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt @@ -21,6 +21,7 @@ import androidx.navigation.navArgs import com.google.android.material.color.MaterialColors import kotlinx.coroutines.flow.collectLatest import kotlinx.coroutines.launch +import org.yuzu.yuzu_emu.NativeLibrary import java.io.IOException import org.yuzu.yuzu_emu.R import org.yuzu.yuzu_emu.databinding.ActivitySettingsBinding @@ -168,7 +169,7 @@ class SettingsActivity : AppCompatActivity() { if (!settingsFile.delete()) { throw IOException("Failed to delete $settingsFile") } - Settings.settingsList.forEach { it.reset() } + NativeLibrary.reloadSettings() Toast.makeText( applicationContext, |