* fixed return of result in the asm version of GetPixel320

git-svn-id: trunk@40966 -
This commit is contained in:
nickysn 2019-01-21 15:16:16 +00:00
parent 92304ce573
commit cab9b4cb6b

View File

@ -2300,11 +2300,10 @@ End;
shr ax, 1 shr ax, 1
shr ax, 1 shr ax, 1
add di, ax add di, ax
xor ax, ax mov al, es:[di]
mov al,es:[di] xor ah, ah
mov word ptr @Result,ax
{$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR} {$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR}
mov word ptr @Result+2, 0 xor dx, dx
{$endif FPC_GRAPH_SUPPORTS_TRUECOLOR} {$endif FPC_GRAPH_SUPPORTS_TRUECOLOR}
end; end;
{$endif asmgraph} {$endif asmgraph}