diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_bios.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 7c4f66d8..787514d6 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -216,7 +216,8 @@ Bool RADEONGetConnectorInfoFromBIOS (ScrnInfoPtr pScrn) if ((tmp = RADEON_BIOS16(info->ROMHeaderStart + 0x50))) { for (i = 1; i < 4; i++) { - if (!RADEON_BIOS8(tmp + i*2) && i > 1) break; /* end of table */ + if (!RADEON_BIOS16(tmp + i*2)) + break; /* end of table */ tmp0 = RADEON_BIOS16(tmp + i*2); if (((tmp0 >> 12) & 0x0f) == 0) continue; /* no connector */ |