Quellcode durchsuchen

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

git-svn-id: trunk@40922 -
nickysn vor 6 Jahren
Ursprung
Commit
9f4e6c48b3
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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'];