Disable horizontal stretching at narrow aspect ratios.

This commit is contained in:
Skyth 2025-01-28 15:21:27 +03:00
parent 996f23cc54
commit a1a12b6484

View file

@ -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;
}