revert rev. 1537 and do it correctly

git-svn-id: svn://kolibrios.org@1549 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2010-08-01 23:07:45 +00:00
parent 2c6d28014d
commit 15a6f2fd99

View File

@ -2233,12 +2233,11 @@ sysfn_mouse_acceleration: ; 18.19 = set/get mouse features
; cmp ecx,4 ; set mouse pointer position
dec ecx
jnz .set_mouse_button
cmp dx, word[Screen_Max_X]
ja .end
rol edx,16
cmp dx, word[Screen_Max_Y]
ja .end
rol edx,16
cmp dx, word[Screen_Max_X]
ja .end
mov [MOUSE_X], edx
ret
.set_mouse_button: