Explorar el Código

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

git-svn-id: trunk@15748 -
marco hace 15 años
padre
commit
6e5c32a481
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;