diff options
author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2021-05-25 20:14:30 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-26 11:27:16 +0200 |
commit | 76968101f549fb6bb51b4bdea65e8a48307c765d (patch) | |
tree | 0de94a6b7b316c401e494745fad88fcbe824c114 /cpu.c | |
parent | 644f66bf5d09f98d1da7a6bcec6bd9ce795f868c (diff) | |
download | qemu-76968101f549fb6bb51b4bdea65e8a48307c765d.zip |
ps2: fix mouse stream corruption
Commit 7abe7eb294 "ps2: Fix mouse stream corruption due to lost data"
added code to avoid mouse stream corruptions but the calculation of
the needed free queue size was wrong. Fix this.
To reproduce, open a text file with the vim 7.3 32 bit for DOS exe-
cutable in a FreeDOS client started with -display sdl and move the
mouse around for a few seconds. You will quickly see erratic mouse
movements and unexpected mouse clicks. CuteMouse (ctmouse.exe) in
FreeDOS doesn't try to re-sync the mouse stream.
Fixes: 7abe7eb294 ("ps2: Fix mouse stream corruption due to lost data")
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Message-Id: <20210525181441.27768-1-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions