diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-12-02 12:42:34 +0100 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-12-02 12:42:34 +0100 |
commit | fbbbb853041ae4af36eeffb24188b9a5513ba7d5 (patch) | |
tree | 5a45100781cd5ffe1a0a4568bea54e66bc707c98 | |
parent | 447aae84d07cab34987ab08ead9319e176ccd904 (diff) |
Removed a duplicated register definition.
-rw-r--r-- | src/mga_driver.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c index ff161b7..258e146 100644 --- a/src/mga_driver.c +++ b/src/mga_driver.c @@ -3694,8 +3694,6 @@ MGAAdjustFrame(int scrnIndex, int x, int y, int flags) } -#define C2STARTADD0 0x3C28 - void MGAAdjustFrameCrtc2(int scrnIndex, int x, int y, int flags) { @@ -3725,7 +3723,7 @@ MGAAdjustFrameCrtc2(int scrnIndex, int x, int y, int flags) Base = (y * pLayout->displayWidth + x) * pLayout->bitsPerPixel >> 3; Base += pMga->DstOrg; Base &= 0x01ffffc0; - OUTREG(C2STARTADD0, Base); + OUTREG(MGAREG_C2STARTADD0, Base); ); } |