Browse Source

+ zero out the TVESAInfoBLock structure before doing the VBE get information
call in the msdos vesamode unit

git-svn-id: trunk@37746 -

nickysn 7 years ago
parent
commit
9d4e9dc9c8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/rtl-console/src/msdos/vesamode.pp

+ 1 - 0
packages/rtl-console/src/msdos/vesamode.pp

@@ -67,6 +67,7 @@ var
          regs : registers;
 
       begin
+         FillChar(ib,SizeOf(ib),0);
          regs.ah:=$4f;
          regs.al:=0;
          regs.es:=Seg(ib);