Browse Source

* fixed "data structure too large" error when compiling the video unit on a 16-bit cpu

git-svn-id: trunk@31855 -
nickysn 10 years ago
parent
commit
88e1e963a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl-console/src/inc/videoh.inc

+ 1 - 1
packages/rtl-console/src/inc/videoh.inc

@@ -22,7 +22,7 @@ type
   TVideoCell = Word;
   PVideoCell = ^TVideoCell;
 
-  TVideoBuf = array[0..32759] of TVideoCell;
+  TVideoBuf = array[0..{$ifdef CPU16}16382{$else}32759{$endif}] of TVideoCell;
   PVideoBuf = ^TVideoBuf;
 
   TVideoDriver = Record