mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
TotalMemory is in number of 64K block not 16K block see VBE 2.0 or 3.0 specification.
svn path=/trunk/; revision=19498
This commit is contained in:
parent
5cb6768bb2
commit
8553d872c8
1 changed files with 2 additions and 3 deletions
|
@ -246,12 +246,11 @@ VBEInitialize(PVOID HwDeviceExtension)
|
|||
{
|
||||
VBEDeviceExtension->VbeInfo.Version = 0x102;
|
||||
}
|
||||
|
||||
|
||||
|
||||
DPRINT("VBE BIOS Present (%d.%d, %8ld Kb)\n",
|
||||
VBEDeviceExtension->VbeInfo.Version / 0x100,
|
||||
VBEDeviceExtension->VbeInfo.Version & 0xFF,
|
||||
VBEDeviceExtension->VbeInfo.TotalMemory * 16);
|
||||
VBEDeviceExtension->VbeInfo.TotalMemory * 64);
|
||||
|
||||
#ifdef VBE12_SUPPORT
|
||||
if (VBEDeviceExtension->VbeInfo.Version < 0x102)
|
||||
|
|
Loading…
Reference in a new issue