From fd2bfad813340081ff4930785888743fa0a26686 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 2 Apr 2009 19:10:44 +0000 Subject: [PATCH] very simple, but effective way to disable the internal mouse driver, so you can load external ones. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3338 --- src/debug/debug.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/debug/debug.cpp b/src/debug/debug.cpp index e235ecab..d136e535 100644 --- a/src/debug/debug.cpp +++ b/src/debug/debug.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: debug.cpp,v 1.95 2009-02-01 20:25:38 qbix79 Exp $ */ +/* $Id: debug.cpp,v 1.96 2009-04-02 19:10:44 qbix79 Exp $ */ #include "dosbox.h" #if C_DEBUG @@ -1867,8 +1867,14 @@ public: void Run(void) { + if(cmd->FindExist("/NOMOUSE",false)) { + real_writed(0,0x33<<2,0); + return; + } + char filename[128]; char args[256]; + cmd->FindCommand(1,temp_line); safe_strncpy(filename,temp_line.c_str(),128); // Read commandline