From bbebcd02b9c5a1d0d06aaa95c5562e1ec8dae343 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Thu, 24 Oct 2002 22:29:59 +0000 Subject: [PATCH] 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 --- src/ints/mouse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ints/mouse.cpp b/src/ints/mouse.cpp index 1501d7f8..ad3a084b 100644 --- a/src/ints/mouse.cpp +++ b/src/ints/mouse.cpp @@ -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;