forked from KolibriOS/kolibrios
fix cursors in EGA/VGA modes
git-svn-id: svn://kolibrios.org@786 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
02fc4154be
commit
8dffd5ba5f
@ -356,6 +356,9 @@ proc load_cursor stdcall, src:dword, flags:dword
|
|||||||
endl
|
endl
|
||||||
|
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
|
cmp [create_cursor], eax
|
||||||
|
je .fail2
|
||||||
|
|
||||||
mov [handle], eax
|
mov [handle], eax
|
||||||
cmp word [flags], LOAD_FROM_FILE
|
cmp word [flags], LOAD_FROM_FILE
|
||||||
jne @F
|
jne @F
|
||||||
@ -386,6 +389,7 @@ proc load_cursor stdcall, src:dword, flags:dword
|
|||||||
pop ebx
|
pop ebx
|
||||||
.fail:
|
.fail:
|
||||||
mov eax, [handle]
|
mov eax, [handle]
|
||||||
|
.fail2:
|
||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user