summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-06-09 02:20:13 +0200
committerbunnei <bunneidev@gmail.com>2023-06-09 02:20:13 +0200
commit064bad6ddf898ce915f5bd66af0f6a1edd2ff93a (patch)
tree4024d35ad5df210978fa4f2fba52ff1653ce478f /src
parentMerge pull request #10650 from qurious-pixel/android_tv (diff)
downloadyuzu-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')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt3
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) {