From 91c5cd496af3341ab937a7adac7f9dcc2348dbad Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sat, 29 Oct 2005 09:32:52 +0000 Subject: [PATCH] fix get display start. Fixes MSF51 in 640x400 Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2359 --- src/ints/int10_vesa.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ints/int10_vesa.cpp b/src/ints/int10_vesa.cpp index 579bd2e6..6a4388c1 100644 --- a/src/ints/int10_vesa.cpp +++ b/src/ints/int10_vesa.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: int10_vesa.cpp,v 1.17 2005-09-27 11:05:44 c2woody Exp $ */ +/* $Id: int10_vesa.cpp,v 1.18 2005-10-29 09:32:52 qbix79 Exp $ */ #include #include @@ -295,7 +295,7 @@ Bit8u VESA_GetDisplayStart(Bit16u & x,Bit16u & y) { switch (CurMode->type) { case M_LIN8: y=times; - x=rem*4+pan; + x=rem+pan; break; default: return 0x1;