diff options
| -rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt index 94d5156cf..f4db61cb3 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt | |||
| @@ -263,7 +263,8 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener { | |||
| 263 | val config: Configuration = resources.configuration | 263 | val config: Configuration = resources.configuration |
| 264 | 264 | ||
| 265 | if ((config.screenLayout and Configuration.SCREENLAYOUT_LONG_YES) != 0 || | 265 | if ((config.screenLayout and Configuration.SCREENLAYOUT_LONG_YES) != 0 || |
| 266 | (config.screenLayout and Configuration.SCREENLAYOUT_LONG_NO) == 0) { | 266 | (config.screenLayout and Configuration.SCREENLAYOUT_LONG_NO) == 0 || |
| 267 | (config.screenLayout and Configuration.SCREENLAYOUT_SIZE_SMALL) != 0) { | ||
| 267 | return rotation | 268 | return rotation |
| 268 | } | 269 | } |
| 269 | when (rotation) { | 270 | when (rotation) { |