/programs/develop/libraries/buf2d/trunk/buf2d.asm |
---|
95,10 → 95,10 |
mov edi,dword[buf_struc] |
mov ecx,buf2d_w |
cmp ecx,1 |
jl .end_create |
jl .error |
mov ebx,buf2d_h |
cmp ebx,1 |
jl .end_create |
jl .error |
imul ecx,ebx |
cmp buf2d_bits,24 |
jne @f |
115,6 → 115,8 |
jne @f |
cld |
mov esi,[rgb_data] |
or esi,esi |
jz @f |
mov edi,eax ;eax=buf2d_data |
rep movsb ;ª®¯¨à㥬 ¡¨âë ¨§®¡à ¦¥¨ï ¢ ¡ãä¥à |
jmp .end_create |