summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-08-21 21:56:12 +0200
committerGitHub <noreply@github.com>2023-08-21 21:56:12 +0200
commit062113374dc278040def62df00f5275b7c9d119a (patch)
tree05f07daf57155fc3c3a0c9f71a92f4745ff86214 /src/android/app
parentMerge pull request #11284 from liamwhite/nca-release (diff)
downloadyuzu-062113374dc278040def62df00f5275b7c9d119a.tar
yuzu-062113374dc278040def62df00f5275b7c9d119a.tar.gz
yuzu-062113374dc278040def62df00f5275b7c9d119a.tar.bz2
yuzu-062113374dc278040def62df00f5275b7c9d119a.tar.lz
yuzu-062113374dc278040def62df00f5275b7c9d119a.tar.xz
yuzu-062113374dc278040def62df00f5275b7c9d119a.tar.zst
yuzu-062113374dc278040def62df00f5275b7c9d119a.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt4
1 files changed, 2 insertions, 2 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 0e7c1ba88..25b9d4018 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
@@ -297,11 +297,11 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
emulationActivity?.let {
it.requestedOrientation = when (IntSetting.RENDERER_SCREEN_LAYOUT.int) {
Settings.LayoutOption_MobileLandscape ->
- ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE
+ ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE
Settings.LayoutOption_MobilePortrait ->
ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT
Settings.LayoutOption_Unspecified -> ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED
- else -> ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE
+ else -> ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE
}
}
}