aboutsummaryrefslogtreecommitdiff
path: root/mousmain.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-18 22:13:00 +0200
committerJavier <dev.git@javispedro.com>2022-04-18 22:13:00 +0200
commitb9396bdeff4588762ab017cb3446910a2684b380 (patch)
treea43e4647125e52e02507127043b62bcb3f59c3c3 /mousmain.c
parent3da9d4d5eff694e7e91116a693f328c289fc82f6 (diff)
downloadvbados-b9396bdeff4588762ab017cb3446910a2684b380.tar.gz
vbados-b9396bdeff4588762ab017cb3446910a2684b380.zip
switch mouse driver to always use 1-byte packets from BIOS
Diffstat (limited to 'mousmain.c')
-rw-r--r--mousmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mousmain.c b/mousmain.c
index 56b8efe..72b5b09 100644
--- a/mousmain.c
+++ b/mousmain.c
@@ -21,8 +21,8 @@
#include <stdlib.h>
#include <string.h>
#include <dos.h>
-#include <i86.h>
+#include "version.h"
#include "dlog.h"
#include "int33.h"
#include "int21dos.h"
@@ -246,7 +246,7 @@ static int configure_driver(LPTSRDATA data)
dlog_init();
// Check for PS/2 mouse BIOS availability
- if ((err = ps2m_init(PS2M_PACKET_SIZE_PLAIN))) {
+ if ((err = ps2m_init(1))) {
fprintf(stderr, "Cannot init PS/2 mouse BIOS, err=%d\n", err);
// Can't do anything without PS/2
return err;