From 37fac15aea596c42ed2ae4184243b42db83a4be3 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 18 Jun 2014 14:34:33 +0000 Subject: [PATCH] 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 --- src/gui/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/render.cpp b/src/gui/render.cpp index 67435218..66cf22cc 100644 --- a/src/gui/render.cpp +++ b/src/gui/render.cpp @@ -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