diff options
author | Luc Verhaegen <libv@skynet.be> | 2006-04-15 16:10:33 +0200 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2006-04-15 16:10:33 +0200 |
commit | 26ef6400d83b3173a73815da85ae75dac71b7c0c (patch) | |
tree | 1a35e8131a5960dc0d4cd25f5331f4108739a400 /src/atilock.c | |
parent | a5b8c226cdd69285043ed0362ff6b5262d6025b0 (diff) |
The VGAWonder IO range is always 0x1CE, so use a #define and just track a Bool
IsVGAWonder instead.
Move CPIOBase resource claim next to the retrieval of the address.
Diffstat (limited to 'src/atilock.c')
-rw-r--r-- | src/atilock.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/atilock.c b/src/atilock.c index 02e3167..f310ce3 100644 --- a/src/atilock.c +++ b/src/atilock.c @@ -173,8 +173,7 @@ ATIUnlock } if (pATI->IsVGA) { - if (pATI->CPIO_VGAWonder) - { + if (pATI->IsVGAWonder) { /* * Ensure all registers are read/write and disable all non-VGA * emulations. @@ -445,8 +444,7 @@ ATILock ATIMach64PutLCDReg(LCD_GEN_CNTL, saved_lcd_gen_ctrl); } - if (pATI->CPIO_VGAWonder) - { + if (pATI->IsVGAWonder) { /* * Restore emulation and protection bits in ATI extended VGA * registers. |