/kernel/trunk/video/cursors.inc |
---|
422,9 → 422,8 |
push esi |
push edi |
mov eax, [current_slot_idx] |
shl eax, BSF sizeof.APPDATA |
mov eax, [SLOT_BASE + eax + APPDATA.tid] |
mov eax, [current_slot] |
mov eax, [eax + APPDATA.tid] |
mov ebx, [src] |
mov ecx, [flags] |
call create_cursor ;eax, ebx, ecx |
459,9 → 458,8 |
cmp [esi + CURSOR.magic], 'CURS' |
jne .fail |
mov ebx, [current_slot_idx] |
shl ebx, BSF sizeof.APPDATA |
mov ebx, [ebx + SLOT_BASE + APPDATA.tid] |
mov ebx, [current_slot] |
mov ebx, [ebx + APPDATA.tid] |
cmp ebx, [esi+CURSOR.pid] |
jne .fail |