From Mario79: updated jpegview

git-svn-id: svn://kolibrios.org@470 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2007-04-24 08:59:59 +00:00
parent db5fd1e74a
commit fd4f9bc59f

View File

@ -166,15 +166,16 @@ set_as_bgr2:
mov ebp,dword[jpeg_st]
test ebp,ebp
jz .end
mov dword [ebp+draw_ptr],put_chunk_to_bgr
call jpeg_display
mov eax, 15
mov ebx, 1
mov ecx, [ebp + x_size]
mov edx, [ebp + y_size]
int 0x40
mov dword [ebp+draw_ptr],put_chunk_to_bgr
call jpeg_display
; Stretch the image to fit
mov eax, 15
mov ebx, 4