[haiku-commits] r42561 - haiku/trunk/src/add-ons/accelerants/radeon_hd

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 4 Aug 2011 01:26:26 +0200 (CEST)

Author: kallisti5
Date: 2011-08-04 01:26:26 +0200 (Thu, 04 Aug 2011)
New Revision: 42561
Changeset: https://dev.haiku-os.org/changeset/42561

Modified:
   haiku/trunk/src/add-ons/accelerants/radeon_hd/accelerant.cpp
Log:
* bug fix, wrong offset


Modified: haiku/trunk/src/add-ons/accelerants/radeon_hd/accelerant.cpp
===================================================================
--- haiku/trunk/src/add-ons/accelerants/radeon_hd/accelerant.cpp        
2011-08-03 23:23:16 UTC (rev 42560)
+++ haiku/trunk/src/add-ons/accelerants/radeon_hd/accelerant.cpp        
2011-08-03 23:26:26 UTC (rev 42561)
@@ -163,7 +163,7 @@
        if (gInfo->rom_area < 0)
                TRACE("%s: Clone of AtomBIOS failed!\n", __func__);
 
-       if (gInfo->rom[0] != 0x55 || gInfo->rom[0] != 0xAA)
+       if (gInfo->rom[0] != 0x55 || gInfo->rom[1] != 0xAA)
                TRACE("%s: didn't find a VGA bios in cloned region!\n", 
__func__);
 
        sharedCloner.Keep();


Other related posts:

  • » [haiku-commits] r42561 - haiku/trunk/src/add-ons/accelerants/radeon_hd - kallisti5