forked from KolibriOS/kolibrios
VNC Viewer: fixed bug in create_palette.
git-svn-id: svn://kolibrios.org@5752 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0212e7a18e
commit
6830167e8a
@ -17,10 +17,10 @@ create_palette:
|
||||
|
||||
push eax ecx edi
|
||||
movzx ecx, [palettesize]
|
||||
lea ecx, [ecx*BYTES_PER_CPIXEL]
|
||||
lea edi, [ecx*BYTES_PER_CPIXEL]
|
||||
|
||||
@@:
|
||||
lea eax, [esi+ecx]
|
||||
lea eax, [esi+edi]
|
||||
cmp [datapointer], eax
|
||||
jae @f
|
||||
call read_data.more
|
||||
|
Loading…
Reference in New Issue
Block a user