From 08b6d96b7bf43b1bb84028d4bb51ca8673cb7cc3 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 6 Jul 2004 19:12:28 +0000 Subject: [PATCH] Little hack for larry 6 mouse stuck at right side Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1877 --- src/ints/mouse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ints/mouse.cpp b/src/ints/mouse.cpp index 04b4f9d1..fb64f0d0 100644 --- a/src/ints/mouse.cpp +++ b/src/ints/mouse.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: mouse.cpp,v 1.38 2004-04-24 17:57:38 harekiet Exp $ */ +/* $Id: mouse.cpp,v 1.39 2004-07-06 19:12:28 qbix79 Exp $ */ #include #include @@ -705,6 +705,7 @@ static Bitu INT33_Handler(void) { mouse.sub_mask=reg_cx; mouse.sub_seg=SegValue(es); mouse.sub_ofs=reg_dx; + mouse.max_x=CurMode->swidth;//Larry 6 break; case 0x0f: /* Define mickey/pixel rate */ SetMickeyPixelRate(reg_cx,reg_dx);