Unfuck up the formatting and remove broken check.
[reactos.git] / reactos / drivers / video / miniport / vbe / vbemp.c
index 0b97194..51c59d9 100644 (file)
@@ -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,