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
|
||||
|
||||
xor eax, eax
|
||||
cmp [create_cursor], eax
|
||||
je .fail2
|
||||
|
||||
mov [handle], eax
|
||||
cmp word [flags], LOAD_FROM_FILE
|
||||
jne @F
|
||||
@ -386,6 +389,7 @@ proc load_cursor stdcall, src:dword, flags:dword
|
||||
pop ebx
|
||||
.fail:
|
||||
mov eax, [handle]
|
||||
.fail2:
|
||||
ret
|
||||
endp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user