mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-11-02 20:41:02 +01:00
Disable horizontal stretching at narrow aspect ratios. (#228)
This commit is contained in:
1 parent
996f23cc54
commit
87d9e0dac7
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user