mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-05-23 23:05:48 -04:00
Disable horizontal stretching at narrow aspect ratios. (#228)
This commit is contained in:
@@ -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