yuzu-mirror/src
Charles Lombardo 338d6f29b1 android: Properly adjust emulation surface aspect ratio
Previously the emulation surface wouldn't respond properly to orientation changes. This would result in the screen appearing stretched when starting in one orientation and switching to another.

The code for calculating the bounds of the view have been changed to match the expected behavior now. Before the view would just match parent in height and width. Now instead of using setLeftTopRightBottom (which is intended to be used for animations) we pass newly calculated bounds for the view into super. Now the view bounds match the emulation output.

This also means that we don't need the overload for the SettingsActivity to launch it using an ActivityResultLauncher. We can just update the view in onResume.
2023-08-27 00:16:53 +07:00
..
android android: Properly adjust emulation surface aspect ratio 2023-08-27 00:16:53 +07:00
audio_core Pre-test opening a stream for audio backends, fall back to null if not suitable. 2023-08-23 08:33:26 +07:00
common Merge pull request #11356 from lat9nq/console-mode-pg 2023-08-26 19:15:00 +07:00
core Merge pull request #11356 from lat9nq/console-mode-pg 2023-08-26 19:15:00 +07:00
dedicated_room Run clang-format to fix all. 2023-04-19 17:52:09 +07:00
input_common Warnings cleanup for GCC 13 and Clang 16 2023-08-25 19:22:31 +07:00
network general: fix spelling mistakes 2023-03-12 11:33:01 +07:00
shader_recompiler Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagation 2023-08-18 22:17:02 +07:00
tests Buffer cache: always use async buffer downloads and fix regression. 2023-05-07 23:46:12 +07:00
video_core Merge pull request #11317 from Kelebek1/macro_dumps 2023-08-26 19:14:25 +07:00
web_service Warnings cleanup for GCC 13 and Clang 16 2023-08-25 19:22:31 +07:00
yuzu Merge pull request #11356 from lat9nq/console-mode-pg 2023-08-26 19:15:00 +07:00
yuzu_cmd configure_system: Implement with for loop 2023-07-21 10:56:07 +07:00
.clang-format chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +07:00
CMakeLists.txt Avoid `$<CXX_COMPILER_ID:Clang>` because it doesn't include AppleClang. 2023-08-25 19:22:31 +07:00