From a1a12b6484bed1e9a9297fbd1c44b440d8b50528 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:21:27 +0300 Subject: [PATCH] Disable horizontal stretching at narrow aspect ratios. --- UnleashedRecomp/patches/aspect_ratio_patches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/patches/aspect_ratio_patches.cpp b/UnleashedRecomp/patches/aspect_ratio_patches.cpp index af6f2435..b9d43aca 100644 --- a/UnleashedRecomp/patches/aspect_ratio_patches.cpp +++ b/UnleashedRecomp/patches/aspect_ratio_patches.cpp @@ -834,7 +834,7 @@ static void Draw(PPCContext& ctx, uint8_t* base, PPCFunc* original, uint32_t str float scaleX = 1.0f; float scaleY = 1.0f; - if ((modifier.flags & STRETCH_HORIZONTAL) != 0) + if ((modifier.flags & STRETCH_HORIZONTAL) != 0 && g_aspectRatio >= WIDE_ASPECT_RATIO) { scaleX = Video::s_viewportWidth / 1280.0f; }