瀏覽代碼

* only load the low byte of CurrentColor in the asm version of DirectPutPixel320

git-svn-id: trunk@40957 -
nickysn 6 年之前
父節點
當前提交
f1467fdaaf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/graph/src/msdos/graph.pp

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

@@ -2345,7 +2345,7 @@ End;
    add    di, ax
    shr    ax, 2
    add    di, ax
-   mov    ax, [CurrentColor]
+   mov    al, byte ptr [CurrentColor]
    cmp    [CurrentWriteMode],XORPut   { check write mode   }
    jne    @MOVMode
    mov    ah,es:[di]        { read the byte...             }