mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 22:02:18 +00:00
Detect Bad graphic Bios, Some graphice card report VBE 2.0 when the are VBE 1.2. For the manufactures have use wrong version and do not set the OemVendoerPtr. When that happen it is VBE 1.2 on the Graphic card
svn path=/trunk/; revision=19496
This commit is contained in:
parent
cbe451a3df
commit
35a12f5a28
|
@ -241,6 +241,13 @@ VBEInitialize(PVOID HwDeviceExtension)
|
|||
&VBEDeviceExtension->VbeInfo,
|
||||
sizeof(VBEDeviceExtension->VbeInfo));
|
||||
|
||||
/* Dectect Bad VBE BIOS some Graphice card report 0x200 when they are VBE 1.2 */
|
||||
if (VBEDeviceExtension->VbeInfo.OemVendorNamePtr == 0 && VBEDeviceExtension->VbeInfo.Version == 0x200)
|
||||
{
|
||||
VBEDeviceExtension->VbeInfo.Version = 0x102;
|
||||
}
|
||||
|
||||
|
||||
DPRINT("VBE BIOS Present (%d.%d, %8ld Kb)\n",
|
||||
VBEDeviceExtension->VbeInfo.Version / 0x100,
|
||||
VBEDeviceExtension->VbeInfo.Version & 0xFF,
|
||||
|
|
Loading…
Reference in a new issue