Fix for. r. 1067. Using of the CLI command, without pushfd/popfd - It's a Mad, Mad, Mad, Mad World!

git-svn-id: svn://kolibrios.org@2508 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-03-26 20:11:06 +00:00
parent ab6cd4fcea
commit 378aed908b

View File

@ -381,7 +381,7 @@ align 4
sys_sendwindowmsg: ;; f72 sys_sendwindowmsg: ;; f72
dec ebx dec ebx
jnz .ret ;subfunction==1 ? jnz .ret ;subfunction==1 ?
;pushfd ;à íàôèãà? pushfd
cli cli
sub ecx, 2 sub ecx, 2
je .sendkey je .sendkey
@ -402,7 +402,8 @@ sys_sendwindowmsg: ;; f72
mov [KEY_COUNT+1+eax], dl mov [KEY_COUNT+1+eax], dl
.result: .result:
setae byte[esp+32] ;ñ÷èòàåì, ÷òî èñõîäíî: dword[esp+32]==72 setae byte[esp+32] ;ñ÷èòàåì, ÷òî èñõîäíî: dword[esp+32]==72
.retf: ;popfd .retf:
popfd
.ret: .ret:
ret ret