소스 검색

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

git-svn-id: trunk@40922 -
nickysn 6 년 전
부모
커밋
9f4e6c48b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'];