* only load the low byte of CurrentColor in the asm version of DirectPutPixel320

git-svn-id: trunk@40957 -
This commit is contained in:
nickysn 2019-01-21 13:42:59 +00:00
parent 1d9dae2129
commit f1467fdaaf

View File

@ -2345,7 +2345,7 @@ End;
add di, ax
shr ax, 2
add di, ax
mov ax, [CurrentColor]
mov al, byte ptr [CurrentColor]
cmp [CurrentWriteMode],XORPut { check write mode }
jne @MOVMode
mov ah,es:[di] { read the byte... }