- removed the REGCALL ifdefs from PutPixel320

git-svn-id: trunk@41108 -
This commit is contained in:
nickysn 2019-01-29 13:00:24 +00:00
parent f8817b128a
commit 5a8d57d8f4

View File

@ -2292,14 +2292,9 @@ End;
push ebx
push ecx
push edi
{$IFDEF REGCALL}
movsx edi, ax
movsx ebx, dx
mov al, cl
{$ELSE REGCALL}
movsx edi, x
movsx ebx, y
{$ENDIF REGCALL}
cmp clippixels, 0
je @putpix320noclip
test edi, edi
@ -2316,9 +2311,6 @@ End;
add ebx, ecx
add edi, edx
{ add edi, [VideoOfs] no multiple pages in 320*200*256 }
{$IFNDEF REGCALL}
mov ax, [pixel]
{$ENDIF REGCALL}
shl ebx, 6
add edi, ebx
mov fs:[edi+ebx*4+$a0000], al