video_patches: don't adjust CSD aspect if UIScaleMode is Stretch

This commit is contained in:
Michael 2024-11-16 16:02:02 -08:00
parent 118c2f3ce2
commit e405887c0e

View file

@ -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)