diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 00:19:15 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 01:24:19 +0200 |
commit | 0abcb2b2c84a50e64bb6aa9e94760659ecf33add (patch) | |
tree | 754e64a8a051f23d17e5e06099d0131fa2b4f2e8 /src/atividmem.c | |
parent | 817b4b5338dba4d8eb862f1f79ef0edb75aad7f4 (diff) |
Clean pATI->Adapter and pATI->VGAAdapter.
- cull (pATI->Adapter != ATI_ADAPTER_MACH64)
- treat pATI->VGAAdapter as Bool
Diffstat (limited to 'src/atividmem.c')
-rw-r--r-- | src/atividmem.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/atividmem.c b/src/atividmem.c index d06ca7c1..e7c44ccd 100644 --- a/src/atividmem.c +++ b/src/atividmem.c @@ -25,7 +25,6 @@ #endif #include "ati.h" -#include "atiadapter.h" #include "atistruct.h" #include "atividmem.h" @@ -188,7 +187,7 @@ ATIMapApertures #ifndef AVOID_CPIO - if (pATI->VGAAdapter == ATI_ADAPTER_NONE) + if (!pATI->VGAAdapter) #endif /* AVOID_CPIO */ @@ -207,7 +206,7 @@ ATIMapApertures #ifndef AVOID_CPIO /* Map VGA aperture */ - if (pATI->VGAAdapter != ATI_ADAPTER_NONE) + if (pATI->VGAAdapter) { /* * No relocation, resizing, caching or write-combining of this |