diff options
author | bunnei <bunneidev@gmail.com> | 2023-06-09 02:20:13 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-09 02:20:13 +0200 |
commit | 064bad6ddf898ce915f5bd66af0f6a1edd2ff93a (patch) | |
tree | 4024d35ad5df210978fa4f2fba52ff1653ce478f /src/android | |
parent | Merge pull request #10650 from qurious-pixel/android_tv (diff) | |
download | yuzu-064bad6ddf898ce915f5bd66af0f6a1edd2ff93a.tar yuzu-064bad6ddf898ce915f5bd66af0f6a1edd2ff93a.tar.gz yuzu-064bad6ddf898ce915f5bd66af0f6a1edd2ff93a.tar.bz2 yuzu-064bad6ddf898ce915f5bd66af0f6a1edd2ff93a.tar.lz yuzu-064bad6ddf898ce915f5bd66af0f6a1edd2ff93a.tar.xz yuzu-064bad6ddf898ce915f5bd66af0f6a1edd2ff93a.tar.zst yuzu-064bad6ddf898ce915f5bd66af0f6a1edd2ff93a.zip |
Diffstat (limited to 'src/android')
-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 { val config: Configuration = resources.configuration if ((config.screenLayout and Configuration.SCREENLAYOUT_LONG_YES) != 0 || - (config.screenLayout and Configuration.SCREENLAYOUT_LONG_NO) == 0) { + (config.screenLayout and Configuration.SCREENLAYOUT_LONG_NO) == 0 || + (config.screenLayout and Configuration.SCREENLAYOUT_SIZE_SMALL) != 0) { return rotation } when (rotation) { |