Disable mouse on reset. Fixes crash in windows enhanched mode when exiting
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2082
This commit is contained in:
parent
5ae8051c90
commit
7c75bcef02
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: bios.cpp,v 1.37 2004-12-08 22:39:49 qbix79 Exp $ */
|
||||
/* $Id: bios.cpp,v 1.38 2004-12-19 16:46:04 qbix79 Exp $ */
|
||||
|
||||
#include <time.h>
|
||||
#include "dosbox.h"
|
||||
|
@ -358,6 +358,7 @@ static Bitu INT15_Handler(void) {
|
|||
} else CALLBACK_SCF(true);
|
||||
break;
|
||||
case 0x01: // reset
|
||||
Mouse_SetPS2State(false);
|
||||
reg_bx=0x00aa; // mouse
|
||||
CALLBACK_SCF(false);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue