diff options
author | Javier <dev.git@javispedro.com> | 2022-04-18 22:13:00 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-18 22:13:00 +0200 |
commit | b9396bdeff4588762ab017cb3446910a2684b380 (patch) | |
tree | a43e4647125e52e02507127043b62bcb3f59c3c3 /mousmain.c | |
parent | 3da9d4d5eff694e7e91116a693f328c289fc82f6 (diff) | |
download | vbados-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |