Rev 131 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 131 | Rev 678 | ||
---|---|---|---|
Line 323... | Line 323... | ||
323 | cmp dword[esi+4],ID2 |
323 | cmp dword[esi+4],ID2 |
324 | rep_err e, 52, 18 |
324 | rep_err e, 52, 18 |
325 | add esi,8 |
325 | add esi,8 |
326 | cmp dword[esi+4],'IHDR' |
326 | cmp dword[esi+4],'IHDR' |
327 | rep_err e,52, 18 |
327 | rep_err e,52, 18 |
328 | or [Flags],PNG_MODE |
- | |
329 | memcpy_esi PNG_info,13,8 |
328 | memcpy_esi PNG_info,13,8 |
330 | mov eax,[PNG_info.Width] |
329 | mov eax,[PNG_info.Width] |
331 | bswap eax |
330 | bswap eax |
332 | mov [PNG_info.Width],eax |
331 | mov [PNG_info.Width],eax |
333 | mov eax,[PNG_info.Height] |
332 | mov eax,[PNG_info.Height] |
Line 346... | Line 345... | ||
346 | mov [unp_size],eax |
345 | mov [unp_size],eax |
347 | ; dpd eax |
346 | ; dpd eax |
348 | add esi,25 |
347 | add esi,25 |
349 | cmp byte[esi-5],0 |
348 | cmp byte[esi-5],0 |
350 | rep_err e,52,29 |
349 | rep_err e,52,29 |
- | 350 | or [Flags],PNG_MODE |
|
351 | .nxt_sec: |
351 | .nxt_sec: |
352 | lodsd |
352 | lodsd |
353 | bswap eax ; eax - section size |
353 | bswap eax ; eax - section size |
354 | push eax |
354 | push eax |
355 | lodsd |
355 | lodsd |