fix problem with client.SetGameExtraPadding distortion in >1x window scales. This logic is insanely complex, so regressions are possible.
This commit is contained in:
parent
f410ac04b8
commit
787cb82e28
|
@ -133,8 +133,8 @@ namespace BizHawk.Client.EmuHawk.Filters
|
||||||
PS = trials[bestIndex];
|
PS = trials[bestIndex];
|
||||||
}
|
}
|
||||||
|
|
||||||
vw = (int)(PS.X * textureWidth);
|
vw = (int)(PS.X * oldSourceWidth);
|
||||||
vh = (int)(PS.Y * textureHeight);
|
vh = (int)(PS.Y * oldSourceHeight);
|
||||||
widthScale = PS.X;
|
widthScale = PS.X;
|
||||||
heightScale = PS.Y;
|
heightScale = PS.Y;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue