1
0
Fork 0
forked from suyu/suyu

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