Unfuck up the formatting and remove broken check. Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c _____
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c --- trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-12-12 23:56:24 UTC (rev 20137) +++ trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-12-13 00:02:07 UTC (rev 20138) @@ -238,19 +238,13 @@
&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,