summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2008-01-19 12:00:16 -0500
committerAlex Deucher <alex@botch2.(none)>2008-01-19 12:00:16 -0500
commitfd2a598e64a522c028a20444379fa200a5724e62 (patch)
tree2fdcb2aa6a0c7ee5f48ebe9739b4d65d319c0041
parent9c959f53ca8376aa136a9d434c3383cdb20487c2 (diff)
Fix reversed logic in SavageMapMem()
-rw-r--r--src/savage_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 9d4209a..8209afe 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -3156,8 +3156,8 @@ static Bool SavageMapMem(ScrnInfoPtr pScrn)
}
psav->ApertureMap = (psav->IsSecondary)
- ? psav->ApertureRegion.memory
- : psav->ApertureRegion.memory + 0x1000000;
+ ? psav->ApertureRegion.memory + 0x1000000
+ : psav->ApertureRegion.memory;
}
if (psav->MmioRegion.memory == NULL) {