From 87d9e0dac7d3b0d4a5b7849459fa0ab614f56eca Mon Sep 17 00:00:00 2001 From: "Skyth (Asilkan)" <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:33:06 +0300 Subject: [PATCH] Disable horizontal stretching at narrow aspect ratios. (#228) --- 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 af6f243..b9d43ac 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; }