aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-27 01:36:26 -0500
committerGitHub <noreply@github.com>2024-01-27 01:36:26 -0500
commit5afc5a9e2cc6442982c004ef9fbca4b03f9e071f (patch)
treede87cae5759b2fa4bb6d6312dcfea5845092351f /src
parent29b2c706dea11d5f661cf7b89cc39506ff89ecd8 (diff)
parentd275537111c97195c4b27916b42d2be52066007c (diff)
Merge pull request #12815 from t895/visual-driver-silly
android: Reload global settings on closing emulation
Diffstat (limited to 'src')
-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 22da1d0e5a..ef393c4bef 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()