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/atilock.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/atilock.c')
-rw-r--r-- | src/atilock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/atilock.c b/src/atilock.c index b4babb1..ba70087 100644 --- a/src/atilock.c +++ b/src/atilock.c @@ -25,7 +25,6 @@ #endif #include "ati.h" -#include "atiadapter.h" #include "atichip.h" #include "atilock.h" #include "atimach64io.h" @@ -180,7 +179,7 @@ ATIUnlock #ifndef AVOID_CPIO - if (pATI->VGAAdapter != ATI_ADAPTER_NONE) + if (pATI->VGAAdapter) { if (pATI->CPIO_VGAWonder) { @@ -401,7 +400,7 @@ ATILock #ifndef AVOID_CPIO - if (pATI->VGAAdapter != ATI_ADAPTER_NONE) + if (pATI->VGAAdapter) { if (pATI->LCDPanelID >= 0) { |