浏览代码

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

git-svn-id: trunk@30283 -
nickysn 10 年之前
父节点
当前提交
317c1b32cf
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.MaxX := 639;
          mode.MaxY := 199;
-         mode.HardwarePages := 2;
+         mode.HardwarePages := 3;
          mode.SetVisualPage := {$ifdef fpc}@{$endif}SetVisual200;
          mode.SetActivePage := {$ifdef fpc}@{$endif}SetActive200;
          mode.InitMode := {$ifdef fpc}@{$endif}Init640x200x16;