fix problem with client.SetGameExtraPadding distortion in >1x window scales. This logic is insanely complex, so regressions are possible.

This commit is contained in:
zeromus 2015-10-12 19:57:11 -05:00
parent f410ac04b8
commit 787cb82e28
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@ namespace BizHawk.Client.EmuHawk.Filters
PS = trials[bestIndex];
}
vw = (int)(PS.X * textureWidth);
vh = (int)(PS.Y * textureHeight);
vw = (int)(PS.X * oldSourceWidth);
vh = (int)(PS.Y * oldSourceHeight);
widthScale = PS.X;
heightScale = PS.Y;
}