diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt | 3 | ||||
| -rw-r--r-- | src/common/uuid.cpp | 2 |
2 files changed, 3 insertions, 2 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) { |
diff --git a/src/common/uuid.cpp b/src/common/uuid.cpp index 89e1ed225..035df7fe0 100644 --- a/src/common/uuid.cpp +++ b/src/common/uuid.cpp | |||
| @@ -48,7 +48,7 @@ std::array<u8, 0x10> ConstructFromRawString(std::string_view raw_string) { | |||
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | std::array<u8, 0x10> ConstructFromFormattedString(std::string_view formatted_string) { | 50 | std::array<u8, 0x10> ConstructFromFormattedString(std::string_view formatted_string) { |
| 51 | std::array<u8, 0x10> uuid; | 51 | std::array<u8, 0x10> uuid{}; |
| 52 | 52 | ||
| 53 | size_t i = 0; | 53 | size_t i = 0; |
| 54 | 54 | ||