summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-27 07:36:26 +0100
committerGitHub <noreply@github.com>2024-01-27 07:36:26 +0100
commit16b79df8361f82e31143b3e7b05bd00a31a86fec (patch)
treede87cae5759b2fa4bb6d6312dcfea5845092351f
parentMerge pull request #12808 from t895/uri-moment (diff)
parentandroid: Reload global settings on closing emulation (diff)
downloadyuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.tar
yuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.tar.gz
yuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.tar.bz2
yuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.tar.lz
yuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.tar.xz
yuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.tar.zst
yuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.zip
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
index 22da1d0e5..ef393c4be 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
@@ -301,6 +301,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
R.id.menu_exit -> {
emulationState.stop()
+ NativeConfig.reloadGlobalConfig()
emulationViewModel.setIsEmulationStopping(true)
binding.drawerLayout.close()
binding.inGameMenu.requestFocus()