Rev 1102 | Rev 2692 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1102 | Rev 2691 | ||
---|---|---|---|
Line 90... | Line 90... | ||
90 | cmp [_length], eax |
90 | cmp [_length], eax |
91 | jbe .error |
91 | jbe .error |
Line 92... | Line 92... | ||
92 | 92 | ||
Line 93... | Line 93... | ||
93 | mov [bTopDown], 0 |
93 | mov [bTopDown], 0 |
94 | 94 | ||
95 | cmp eax, 12 |
95 | cmp eax, 12 ; 0x0C |
96 | jz .old1 |
96 | jz .old1 |
97 | cmp eax, 40 |
97 | cmp eax, 40 ; 0x28 |
- | 98 | jz .normal |
|
- | 99 | cmp eax, 56 ; 0x38 |
|
98 | jz .normal |
100 | je .normal |
99 | cmp eax, 56 |
101 | cmp eax, 108 ; 0x6C |
100 | jnz .error |
102 | jnz .error |
101 | ; convert images with <= 8 bpp to 8bpp, other - to 32 bpp |
103 | ; convert images with <= 8 bpp to 8bpp, other - to 32 bpp |
102 | .normal: |
104 | .normal: |