mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-06-02 02:00:47 -04:00
video_patches: don't adjust CSD aspect if UIScaleMode is Stretch
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user