forked from KolibriOS/kolibrios
VNC Viewer: fixed bug in TRLE palette encodings.
git-svn-id: svn://kolibrios.org@5756 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
959f96c675
commit
07b6f857d7
@ -299,6 +299,13 @@ encoding_TRLE:
|
|||||||
.palette_1bit_line:
|
.palette_1bit_line:
|
||||||
mov ebx, [subrectangle.width]
|
mov ebx, [subrectangle.width]
|
||||||
.palette_1bit_byte:
|
.palette_1bit_byte:
|
||||||
|
@@:
|
||||||
|
lea eax, [esi+1]
|
||||||
|
cmp [datapointer], eax
|
||||||
|
jae @f
|
||||||
|
call read_data.more
|
||||||
|
jmp @b
|
||||||
|
@@:
|
||||||
lodsb
|
lodsb
|
||||||
rol al, 1
|
rol al, 1
|
||||||
mov ecx, eax
|
mov ecx, eax
|
||||||
@ -392,6 +399,13 @@ encoding_TRLE:
|
|||||||
.palette_2bit_line:
|
.palette_2bit_line:
|
||||||
mov ebx, [subrectangle.width]
|
mov ebx, [subrectangle.width]
|
||||||
.palette_2bit_byte:
|
.palette_2bit_byte:
|
||||||
|
@@:
|
||||||
|
lea eax, [esi+1]
|
||||||
|
cmp [datapointer], eax
|
||||||
|
jae @f
|
||||||
|
call read_data.more
|
||||||
|
jmp @b
|
||||||
|
@@:
|
||||||
lodsb
|
lodsb
|
||||||
mov ecx, eax
|
mov ecx, eax
|
||||||
and eax, 0xc0
|
and eax, 0xc0
|
||||||
@ -444,6 +458,13 @@ encoding_TRLE:
|
|||||||
.palette_4bit_line:
|
.palette_4bit_line:
|
||||||
mov ebx, [subrectangle.width]
|
mov ebx, [subrectangle.width]
|
||||||
.palette_4bit_byte:
|
.palette_4bit_byte:
|
||||||
|
@@:
|
||||||
|
lea eax, [esi+1]
|
||||||
|
cmp [datapointer], eax
|
||||||
|
jae @f
|
||||||
|
call read_data.more
|
||||||
|
jmp @b
|
||||||
|
@@:
|
||||||
lodsb
|
lodsb
|
||||||
mov cl, al
|
mov cl, al
|
||||||
and eax, 0xf0
|
and eax, 0xf0
|
||||||
|
Loading…
Reference in New Issue
Block a user