Browse Source

* use lodsb with a segment override prefix instead of mov in the asm version of GetPixel320

git-svn-id: trunk@40968 -
nickysn 6 years ago
parent
commit
57c931cb4c
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

@@ -2300,7 +2300,7 @@ End;
     shr    ax, 1
     shr    ax, 1
     add    si, ax
-    mov    al, es:[si]
+    seges  lodsb
     xor    ah, ah
 {$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR}
     xor    dx, dx