diff options
Diffstat (limited to 'src/ativga.c')
-rw-r--r-- | src/ativga.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/ativga.c b/src/ativga.c index 36ec26f..cd0824c 100644 --- a/src/ativga.c +++ b/src/ativga.c @@ -67,11 +67,7 @@ ATIVGAPreInit pATIHW->seq[4] = 0x0AU; /* Initialise CRTC register values */ - if ((pATI->depth >= 8) && - ((pATI->Chip >= ATI_CHIP_264CT) || - (pATI->CPIO_VGAWonder && - (pATI->Chip <= ATI_CHIP_18800_1) && - (pATI->VideoRAM == 256)))) + if ((pATI->depth >= 8) && (pATI->Chip >= ATI_CHIP_264CT)) pATIHW->crt[19] = pATI->displayWidth >> 3; else pATIHW->crt[19] = pATI->displayWidth >> 4; @@ -179,8 +175,7 @@ ATIVGACalculate pMode->CrtcHAdjusted = TRUE; pMode->CrtcHDisplay = (pMode->HDisplay >> 3) - 1; pMode->CrtcHBlankStart = (pMode->HDisplay >> 3); - if ((pATI->Chip == ATI_CHIP_18800_1) || - (pATI->Chip >= ATI_CHIP_264CT)) + if (pATI->Chip >= ATI_CHIP_264CT) pMode->CrtcHBlankStart--; pMode->CrtcHSyncStart = pMode->HSyncStart >> 3; if (pATI->LCDPanelID >= 0) @@ -325,10 +320,7 @@ ATIVGACalculate } pMode->CrtcVDisplay--; - if (pATI->Chip == ATI_CHIP_18800) - pMode->CrtcVBlankStart++; - else - pMode->CrtcVBlankStart--; + pMode->CrtcVBlankStart--; if (pATI->LCDPanelID >= 0) { pMode->CrtcVSyncStart--; |