mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 02:42:41 -06:00
Merge pull request #12815 from t895/visual-driver-silly
android: Reload global settings on closing emulation
This commit is contained in:
commit
16b79df836
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue