mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 23:32:59 +00:00
[NTVDM]
Account for DoubleVision when updating relative movement counters. svn path=/trunk/; revision=67290
This commit is contained in:
parent
9d66b452ee
commit
5e3f9799d4
1 changed files with 2 additions and 2 deletions
|
@ -429,8 +429,8 @@ VOID MouseEventHandler(PMOUSE_EVENT_RECORD MouseEvent)
|
|||
WaitForSingleObject(MouseMutex, INFINITE);
|
||||
|
||||
/* Update the counters */
|
||||
HorzCounter += NewPosition.X - Position.X;
|
||||
VertCounter += NewPosition.Y - Position.Y;
|
||||
HorzCounter += (NewPosition.X - Position.X) << DoubleWidth;
|
||||
VertCounter += (NewPosition.Y - Position.Y) << DoubleHeight;
|
||||
|
||||
/* Update the position */
|
||||
Position = NewPosition;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue