1
0
Fork 0

Report correct number of mouse_buttons on status return in bx.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@407
This commit is contained in:
Sjoerd van der Berg 2002-10-24 22:29:59 +00:00
parent a3badef4e9
commit bbebcd02b9

View file

@ -165,7 +165,7 @@ static Bitu INT33_Handler(void) {
switch (reg_ax) {
case 0x00: /* Reset Driver and Read Status */
reg_ax=0xffff;
reg_bx=0;
reg_bx=MOUSE_BUTTONS;
mouse_reset();
Mouse_AutoLock(true);
break;