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
1 changed files with 1 additions and 0 deletions

View File

@ -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()