From df62fa5c202814a05d6573baa5310981be4a10ff Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 13 Feb 2006 07:48:25 +0000 Subject: [PATCH] lock mouse on 0xc (define USR) (requested by wd) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2495 --- 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 296591a8..f0639d5d 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.60 2006-02-09 11:47:57 qbix79 Exp $ */ +/* $Id: mouse.cpp,v 1.61 2006-02-13 07:48:25 qbix79 Exp $ */ #include #include @@ -735,6 +735,7 @@ static Bitu INT33_Handler(void) { mouse.sub_mask=reg_cx; mouse.sub_seg=SegValue(es); mouse.sub_ofs=reg_dx; + Mouse_AutoLock(true); //Some games don't seem to reset the mouse before using break; case 0x0f: /* Define mickey/pixel rate */ SetMickeyPixelRate(reg_cx,reg_dx);