From bd451f9df4ce887dc8a0dfcb80142dc5eaa5780a Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sat, 31 Jan 2004 22:42:49 +0000 Subject: [PATCH] Fix mouse cursor in monochrome text mode...... Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1636 --- src/ints/mouse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ints/mouse.cpp b/src/ints/mouse.cpp index 68a21e85..5f64534c 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.30 2004-01-11 18:49:59 qbix79 Exp $ */ +/* $Id: mouse.cpp,v 1.31 2004-01-31 22:42:49 harekiet Exp $ */ #include #include "dosbox.h" @@ -283,7 +283,7 @@ void DrawCursor() { // Get Clipping ranges // In Textmode ? - if (CurMode->type==M_TEXT16) { + if (CurMode->type<=M_TEXT16) { DrawCursorText(); return; } @@ -526,7 +526,7 @@ static Bitu INT33_Handler(void) { break; case 0x02: /* Hide Mouse */ { - if (CurMode->type!=M_TEXT16) RestoreCursorBackground(); + if (CurMode->type>M_TEXT16) RestoreCursorBackground(); else RestoreCursorBackgroundText(); mouse.shown--; }