Przeglądaj źródła

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

git-svn-id: trunk@15748 -
marco 15 lat temu
rodzic
commit
6e5c32a481
1 zmienionych plików z 1 dodań i 1 usunięć
  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;