瀏覽代碼

* use lodsb instead of mov in GetPixelX

git-svn-id: trunk@41030 -
nickysn 6 年之前
父節點
當前提交
9c3d65b08f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 }