From 3bd8abfccdec0ebb24e3dac17bbbd64225093850 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 10 Aug 2005 15:35:54 +0000 Subject: [PATCH] hide mouse cursor on non-supported(vesa) modi Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2266 --- src/ints/mouse.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ints/mouse.cpp b/src/ints/mouse.cpp index a9a9479a..c98d8a75 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.50 2005-06-02 17:27:27 qbix79 Exp $ */ +/* $Id: mouse.cpp,v 1.51 2005-08-10 15:35:54 qbix79 Exp $ */ #include #include @@ -526,6 +526,8 @@ void Mouse_NewVideoMode(void) default: mouse.max_y=199; LOG(LOG_MOUSE,LOG_ERROR)("Unhandled videomode %X on reset",mode); + // Hide mouse cursor on non supported modi. + mouse.shown=-1; break; } mouse.max_x = 639;