Rev 5750 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5750 | Rev 5752 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | 15 | ||
Line 16... | Line 16... | ||
16 | create_palette: |
16 | create_palette: |
17 | 17 | ||
18 | push eax ecx edi |
18 | push eax ecx edi |
Line 19... | Line 19... | ||
19 | movzx ecx, [palettesize] |
19 | movzx ecx, [palettesize] |
20 | lea ecx, [ecx*BYTES_PER_CPIXEL] |
20 | lea edi, [ecx*BYTES_PER_CPIXEL] |
21 | 21 | ||
22 | @@: |
22 | @@: |
23 | lea eax, [esi+ecx] |
23 | lea eax, [esi+edi] |
24 | cmp [datapointer], eax |
24 | cmp [datapointer], eax |
25 | jae @f |
25 | jae @f |