2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #12815 from t895/visual-driver-silly

android: Reload global settings on closing emulation
This commit is contained in:
liamwhite 2024-01-27 01:36:26 -05:00 committed by GitHub
commit 16b79df836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -301,6 +301,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
R.id.menu_exit -> { R.id.menu_exit -> {
emulationState.stop() emulationState.stop()
NativeConfig.reloadGlobalConfig()
emulationViewModel.setIsEmulationStopping(true) emulationViewModel.setIsEmulationStopping(true)
binding.drawerLayout.close() binding.drawerLayout.close()
binding.inGameMenu.requestFocus() binding.inGameMenu.requestFocus()