Explorar o código

* only read the low byte of the pixel color in the asm version of PutPixel320

git-svn-id: trunk@40922 -
nickysn %!s(int64=6) %!d(string=hai) anos
pai
achega
9f4e6c48b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/graph/src/msdos/graph.pp

+ 1 - 1
packages/graph/src/msdos/graph.pp

@@ -2269,7 +2269,7 @@ End;
       shr    ax, 1
       shr    ax, 1
       add    di, ax
-      mov    ax, [Pixel]
+      mov    al, byte ptr [Pixel]
       mov    es:[di], al
 @@Done:
     end ['ax','di'];