reset a few mouse parameter on mouse software reset.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@759
This commit is contained in:
parent
469013e618
commit
499faf568e
1 changed files with 4 additions and 0 deletions
|
@ -558,6 +558,10 @@ static Bitu INT33_Handler(void) {
|
|||
break;
|
||||
case 0x21: /* Software Reset */
|
||||
//TODO reset internal mouse software variables likes mickeys
|
||||
mouse.events = 0;
|
||||
mouse.sub_mask = 0;
|
||||
mouse.sub_seg = 0;
|
||||
mouse.sub_ofs = 0;
|
||||
reg_ax=0xffff;
|
||||
reg_bx=2;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue