forked from KolibriOS/kolibrios
Screenshooter - fix for BMP saving.
git-svn-id: svn://kolibrios.org@3450 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
876d1656cd
commit
78568d91db
@ -130,6 +130,7 @@ pusha
|
||||
movzx edx,word [scr_buf.height]
|
||||
movzx ebx,word [scr_buf.width]
|
||||
lea ebx,[ebx*3]
|
||||
mov ecx,ebx
|
||||
|
||||
test ebx,11b
|
||||
jz @f
|
||||
@ -137,6 +138,8 @@ pusha
|
||||
inc ebx
|
||||
shl ebx,2
|
||||
@@:
|
||||
mov eax,ebx
|
||||
sub eax,ecx
|
||||
cld
|
||||
align 4
|
||||
.next_str:
|
||||
@ -145,6 +148,7 @@ align 4
|
||||
shr ecx,2
|
||||
rep movsd
|
||||
sub edi,ebx
|
||||
sub esi,eax
|
||||
dec edx
|
||||
jnz .next_str
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user