Browse Source

* use lodsb instead of mov in GetPixelX

git-svn-id: trunk@41030 -
nickysn 6 years ago
parent
commit
9c3d65b08f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/graph/src/msdos/graph.pp

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

@@ -2520,7 +2520,7 @@ const CrtAddress: word = 0;
     mov ah, cl
     out dx, ax
     (* End selection of plane *)
-    mov al, ES:[SI]
+    seges lodsb
     xor ah, ah
 {$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR}
     { 1 byte shorter than 'xor dx, dx'; will always set dx to 0, because sign(ah)=0 }