Browse Source

* updated VGA/VGALo to 4 pages as well, as it is the same mode as EGA/EGALo

git-svn-id: trunk@30283 -
nickysn 10 years ago
parent
commit
317c1b32cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/graph/src/go32v2/graph.pp

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

@@ -3941,7 +3941,7 @@ const CrtAddress: word = 0;
          mode.ModeName:='640 x 200 EGA'; { yes, it says 'EGA' even for the VGA driver; this is TP7 compatible }
          mode.ModeName:='640 x 200 EGA'; { yes, it says 'EGA' even for the VGA driver; this is TP7 compatible }
          mode.MaxX := 639;
          mode.MaxX := 639;
          mode.MaxY := 199;
          mode.MaxY := 199;
-         mode.HardwarePages := 2;
+         mode.HardwarePages := 3;
          mode.SetVisualPage := {$ifdef fpc}@{$endif}SetVisual200;
          mode.SetVisualPage := {$ifdef fpc}@{$endif}SetVisual200;
          mode.SetActivePage := {$ifdef fpc}@{$endif}SetActive200;
          mode.SetActivePage := {$ifdef fpc}@{$endif}SetActive200;
          mode.InitMode := {$ifdef fpc}@{$endif}Init640x200x16;
          mode.InitMode := {$ifdef fpc}@{$endif}Init640x200x16;