aboutsummaryrefslogtreecommitdiff
path: root/mousmain.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-20 02:45:41 +0200
committerJavier <dev.git@javispedro.com>2022-04-20 02:45:41 +0200
commita2aaf8a11f318f4f1dda9c5f15cf2257a3c73f9a (patch)
treec4f13ff3834cd1057f458a314c6f01769d3aeef8 /mousmain.c
parent83b640d102b22e543ff924c443e0d2c9ab33d2ed (diff)
downloadvbados-a2aaf8a11f318f4f1dda9c5f15cf2257a3c73f9a.tar.gz
vbados-a2aaf8a11f318f4f1dda9c5f15cf2257a3c73f9a.zip
add back support for using ps/2 bios with 3-byte packets
apparently some BIOSes and DOSBox don't support 1-byte streaming mode, and neither does win386 without a special vkd
Diffstat (limited to 'mousmain.c')
-rw-r--r--mousmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mousmain.c b/mousmain.c
index 72b5b09..90e5e5c 100644
--- a/mousmain.c
+++ b/mousmain.c
@@ -246,7 +246,7 @@ static int configure_driver(LPTSRDATA data)
dlog_init();
// Check for PS/2 mouse BIOS availability
- if ((err = ps2m_init(1))) {
+ if ((err = ps2m_init(PS2M_PACKET_SIZE_PLAIN))) {
fprintf(stderr, "Cannot init PS/2 mouse BIOS, err=%d\n", err);
// Can't do anything without PS/2
return err;