forked from KolibriOS/kolibrios
revert rev. 1537 and do it correctly
git-svn-id: svn://kolibrios.org@1549 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2c6d28014d
commit
15a6f2fd99
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user