mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Disable horizontal stretching at narrow aspect ratios. (#228)
This commit is contained in:
parent
996f23cc54
commit
87d9e0dac7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue