img.flip.layer fix for images of scanline width less than 4 bytes
bmp: check for more InfoHeader types


git-svn-id: svn://kolibrios.org@2691 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2012-05-26 18:26:46 +00:00
parent 997837429a
commit ef860d6920
3 changed files with 19 additions and 12 deletions

View File

@@ -884,13 +884,17 @@ endl
mov ecx, [scanline_len]
push ecx
shr ecx, 2
@@: mov eax, [esi]
@@:
dec ecx
js @f
mov eax, [esi]
xchg eax, [edi]
mov [esi], eax
add esi, 4
add edi, 4
sub ecx, 1
jnz @b
jmp @b
@@:
pop ecx
and ecx, 3
jz .cont_line_vert