mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTVDM]
Account for DoubleVision when updating relative movement counters. svn path=/trunk/; revision=67290
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user