diff options
Diffstat (limited to '')
| -rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt | 4 |
1 files changed, 4 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 39b2a961b..e6ad2aa77 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 | |||
| @@ -304,6 +304,10 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback { | |||
| 304 | 304 | ||
| 305 | override fun onConfigurationChanged(newConfig: Configuration) { | 305 | override fun onConfigurationChanged(newConfig: Configuration) { |
| 306 | super.onConfigurationChanged(newConfig) | 306 | super.onConfigurationChanged(newConfig) |
| 307 | if (_binding == null) { | ||
| 308 | return | ||
| 309 | } | ||
| 310 | |||
| 307 | updateScreenLayout() | 311 | updateScreenLayout() |
| 308 | if (emulationActivity?.isInPictureInPictureMode == true) { | 312 | if (emulationActivity?.isInPictureInPictureMode == true) { |
| 309 | if (binding.drawerLayout.isOpen) { | 313 | if (binding.drawerLayout.isOpen) { |