- don't save/restore eax and ecx in PutPixel320, because they don't need to be preserved by the register calling convention

git-svn-id: trunk@41110 -
This commit is contained in:
nickysn 2019-01-29 13:05:12 +00:00
parent 1371a5a8ed
commit 23aec76ae1

View File

@ -2288,9 +2288,7 @@ End;
{# Var X located in register ax
# Var Y located in register dx
# Var Pixel located in register cx }
push eax
push ebx
push ecx
push edi
movsx edi, ax
movsx ebx, dx
@ -2315,9 +2313,7 @@ End;
mov fs:[edi+ebx*4+$a0000], al
@putpix320done:
pop edi
pop ecx
pop ebx
pop eax
end;