1
0
Fork 0

lower the influence of the aspect table correction trick when using high scale factors (320x200 =>2000x1200)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3862
This commit is contained in:
Peter Veenstra 2014-06-18 14:34:33 +00:00
parent a59544bf7d
commit 37fac15aea

View file

@ -519,7 +519,7 @@ void RENDER_SetSize(Bitu width,Bitu height,Bitu bpp,float fps,double ratio,bool
return;
}
if ( ratio > 1 ) {
double target = height * ratio + 0.1;
double target = height * ratio + 0.025;
ratio = target / height;
} else {
//This would alter the width of the screen, we don't care about rounding errors here