diff options
Diffstat (limited to 'src/atiadjust.c')
-rw-r--r-- | src/atiadjust.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/atiadjust.c b/src/atiadjust.c index b558fa2..9fd4163 100644 --- a/src/atiadjust.c +++ b/src/atiadjust.c @@ -70,17 +70,11 @@ ATIAdjustPreInit case ATI_CRTC_VGA: if (pATI->Chip >= ATI_CHIP_264CT) - { pATI->AdjustMaxBase = MaxBits(CRTC_OFFSET_VGA) << 2; - } - else if (!pATI->IsVGAWonder) - { + else if (!pATI->IsVGA) /* GX/CX with VGA strap */ pATI->AdjustMaxBase = 0xFFFFU << 3; - } - else /* Mach32 & Mach64 */ - { + else /* GX/CX without VGA strap */ pATI->AdjustMaxBase = 0x0FFFFFU << 3; - } break; #endif /* AVOID_CPIO */ @@ -160,7 +154,7 @@ ATIAdjustFrame PutReg(CRTX(pATI->CPIO_VGABase), 0x0CU, GetByte(Base, 1)); PutReg(CRTX(pATI->CPIO_VGABase), 0x0DU, GetByte(Base, 0)); - if (pATI->IsVGAWonder) { + if (pATI->IsVGA) { /* GX/CX with VGA strap */ ATIModifyExtReg(pATI, 0xB0U, -1, 0xBFU, Base >> 10); ATIModifyExtReg(pATI, 0xA3U, -1, 0xEFU, Base >> 13); |