Add 0x31. Should improve Waterworld. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3427
This commit is contained in:
parent
613816e5a4
commit
6de523ff7b
1 changed files with 7 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: mouse.cpp,v 1.79 2009-04-16 12:11:45 qbix79 Exp $ */
|
||||
/* $Id: mouse.cpp,v 1.80 2009-06-16 19:00:26 qbix79 Exp $ */
|
||||
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
@ -898,6 +898,12 @@ static Bitu INT33_Handler(void) {
|
|||
reg_cx=(Bit16u)mouse.max_x;
|
||||
reg_dx=(Bit16u)mouse.max_y;
|
||||
break;
|
||||
case 0x31: /* Get Current Minimum/Maximum virtual coordinates */
|
||||
reg_ax=(Bit16u)mouse.min_x;
|
||||
reg_bx=(Bit16u)mouse.min_y;
|
||||
reg_cx=(Bit16u)mouse.max_x;
|
||||
reg_dx=(Bit16u)mouse.max_y;
|
||||
break;
|
||||
default:
|
||||
LOG(LOG_MOUSE,LOG_ERROR)("Mouse Function %04X not implemented!",reg_ax);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue