mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Unfuck up the formatting and remove broken check.
svn path=/trunk/; revision=20138
This commit is contained in:
@@ -238,19 +238,13 @@ VBEInitialize(PVOID HwDeviceExtension)
|
||||
&VBEDeviceExtension->VbeInfo,
|
||||
sizeof(VBEDeviceExtension->VbeInfo));
|
||||
|
||||
/* Verify VBE is found and not anýthing else */
|
||||
if (VideoPortCompareMemory(VBEDeviceExtension->VbeInfo.Signature, "VESA", 4) != 4)
|
||||
{
|
||||
/* Verify the VBE signature. */
|
||||
if (VideoPortCompareMemory(VBEDeviceExtension->VbeInfo.Signature, "VESA", 4) != 4)
|
||||
{
|
||||
VideoPortDebugPrint(Warn, "No VBE BIOS present\n");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
VideoPortDebugPrint(Trace, "VBE BIOS Present (%d.%d, %8ld Kb)\n",
|
||||
VBEDeviceExtension->VbeInfo.Version / 0x100,
|
||||
VBEDeviceExtension->VbeInfo.Version & 0xFF,
|
||||
|
||||
Reference in New Issue
Block a user