- fixed: playersprite in the classic software renderer was acting oddly with a forced aspect ratio, similar to the bug fixed in ac566f4

This commit is contained in:
Rachael Alexanderson 2017-09-16 16:08:50 -04:00
parent 1eda8aba6b
commit e6b6cb354b
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ namespace swrenderer
auto viewport = Thread->Viewport.get();
double pspritexscale = viewport->viewwindow.centerxwide / 160.0;
double pspriteyscale = pspritexscale * viewport->BaseYaspectMul;
double pspriteyscale = pspritexscale * viewport->BaseYaspectMul * ((double)SCREENHEIGHT / SCREENWIDTH) * r_viewwindow.WidescreenRatio;
double pspritexiscale = 1 / pspritexscale;
int tleft = tex->GetScaledLeftOffset();