Explorar o código

* YOffset-pageswitch moved later into directputpix procedure, since an
intermediate read might otherwise fail (yoffset is a global) mantis #16911

git-svn-id: trunk@15556 -

marco %!s(int64=15) %!d(string=hai) anos
pai
achega
547f082abc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/graph/src/go32v2/vesa.inc

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

@@ -1540,7 +1540,6 @@ end;
      dummy : byte;
      Color : word;
   begin
-    y:= Y + YOffset;
     case CurrentWriteMode of
       XORPut:
         begin
@@ -1567,6 +1566,7 @@ end;
       else
         Color := CurrentColor;
     end;
+     Y := Y + YOffset;
      offs := longint(y) * BytesPerLine + (x div 8);
      SetWriteBank(smallint(offs shr 16));
      PortW[$3ce] := $0f01;       { Index 01 : Enable ops on all 4 planes }