diff options
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 b4babb1c..ba700877 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) { |