From e405887c0e886141a92b19566666d2a218e0bc87 Mon Sep 17 00:00:00 2001 From: Michael <15317421+ActualMandM@users.noreply.github.com> Date: Sat, 16 Nov 2024 16:02:02 -0800 Subject: [PATCH] video_patches: don't adjust CSD aspect if UIScaleMode is Stretch --- UnleashedRecomp/patches/video_patches.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UnleashedRecomp/patches/video_patches.cpp b/UnleashedRecomp/patches/video_patches.cpp index 3bf6ebe..d3e1f0d 100644 --- a/UnleashedRecomp/patches/video_patches.cpp +++ b/UnleashedRecomp/patches/video_patches.cpp @@ -41,6 +41,9 @@ void CameraBoostAspectRatioMidAsmHook(PPCRegister& r31, PPCRegister& f0) void CSDAspectRatioMidAsmHook(PPCRegister& f1, PPCRegister& f2) { + if (Config::UIScaleMode == EUIScaleMode::Stretch) + return; + auto newAspectRatio = (float)Window::s_width / (float)Window::s_height; if (newAspectRatio > m_baseAspectRatio)