/kernel/trunk/video/cursors.inc |
---|
353,6 → 353,8 |
stdcall init_cursor, eax, esi |
align 4 |
.add_cursor: |
mov ecx, [.hcursor] |
lea ecx, [ecx+CURSOR.list_next] |
lea edx, [_display.cr_list.next] |
363,9 → 365,6 |
popfd |
mov eax, [.hcursor] |
;-------------------------------------- |
align 4 |
.check_hw: |
cmp [_display.init_cursor], 0 |
je .fail |
392,7 → 391,7 |
mov ecx, 1024 |
cld |
rep movsd |
jmp .check_hw |
jmp .add_cursor |
;------------------------------------------------------------------------------ |
align 4 |
proc load_cursor stdcall, src:dword, flags:dword |