Browse Source

* replaced bl with al in the final bit read in GetPixel16

git-svn-id: trunk@40992 -
nickysn 6 years ago
parent
commit
95f2fffaf8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/graph/src/msdos/graph.pp

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

@@ -1731,10 +1731,10 @@ end;
     { read plane 0 }
     dec   ax               { Select plane to read }
     out   dx,al
-    mov   bl,es:[si]
-    and   bl,bh
+    mov   al,es:[si]
+    and   al,bh
     rol   ah,1
-    or    ah,bl            { save bit in AH       }
+    or    ah,al            { save bit in AH       }
 
     inc   cx
     rol   ah,cl