summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar liamwhite2024-01-27 01:36:26 -0500
committerGravatar GitHub2024-01-27 01:36:26 -0500
commit16b79df8361f82e31143b3e7b05bd00a31a86fec (patch)
treede87cae5759b2fa4bb6d6312dcfea5845092351f
parentMerge pull request #12808 from t895/uri-moment (diff)
parentandroid: Reload global settings on closing emulation (diff)
downloadyuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.tar.gz
yuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.tar.xz
yuzu-16b79df8361f82e31143b3e7b05bd00a31a86fec.zip
Merge pull request #12815 from t895/visual-driver-silly
android: Reload global settings on closing emulation
Diffstat (limited to '')
-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 {
301 301
302 R.id.menu_exit -> { 302 R.id.menu_exit -> {
303 emulationState.stop() 303 emulationState.stop()
304 NativeConfig.reloadGlobalConfig()
304 emulationViewModel.setIsEmulationStopping(true) 305 emulationViewModel.setIsEmulationStopping(true)
305 binding.drawerLayout.close() 306 binding.drawerLayout.close()
306 binding.inGameMenu.requestFocus() 307 binding.inGameMenu.requestFocus()