瀏覽代碼

* Patch from Nikolay (GetScanLineVESA256 reads from the write window, instead of the read window) mantis 17132

git-svn-id: trunk@15748 -
marco 15 年之前
父節點
當前提交
6e5c32a481
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/graph/src/go32v2/vesa.inc

+ 1 - 1
packages/graph/src/go32v2/vesa.inc

@@ -515,7 +515,7 @@ end;
           {$endif logging}
           For l := 0 to (Bankrest div 4)-1 Do
             begin
-              pixels := MemL[WinWriteSeg:word(offs)+l*4];
+              pixels := MemL[WinReadSeg:word(offs)+l*4];
               WordArray(Data)[index+l*4] := pixels and $ff;
               pixels := pixels shr 8;
               WordArray(Data)[index+l*4+1] := pixels and $ff;