Fix for r.92 (you see the correct revision number - sometimes you have to dig out the mammoth)

git-svn-id: svn://kolibrios.org@2611 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-04-13 21:39:02 +00:00
parent 02ea12584c
commit d6ef0c989b

View File

@ -363,6 +363,7 @@ send_scancode:
call set_lights call set_lights
pop ecx pop ecx
.writekey: .writekey:
pushad
; test for system hotkeys ; test for system hotkeys
movzx eax, ch movzx eax, ch
cmp bh, 1 cmp bh, 1
@ -415,9 +416,9 @@ send_scancode:
mov [edi+4], ax mov [edi+4], ax
mov eax, [kb_state] mov eax, [kb_state]
mov [edi+6], ax mov [edi+6], ax
jmp .exit.irq1
;-------------------------------------- ;--------------------------------------
.nohotkey: .nohotkey:
popad
cmp [keyboard_mode], 0; return from keymap cmp [keyboard_mode], 0; return from keymap
jne .scancode jne .scancode