summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/xgi/common/vb_setmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/xgi/common/vb_setmode.c b/src/drivers/xgi/common/vb_setmode.c
index 91e4929ef0..0143076a44 100644
--- a/src/drivers/xgi/common/vb_setmode.c
+++ b/src/drivers/xgi/common/vb_setmode.c
@@ -3616,7 +3616,7 @@ static void XGI_SetGroup2(unsigned short ModeNo, unsigned short ModeIdIndex,
| (tempax & 0x00FF));
temp = (tempax & 0xFF00) >> 8;
} else {
- temp = (tempax & 0x00FF) >> 8;
+ temp = (tempax & 0x00FF);
}
xgifb_reg_set(pVBInfo->Part2Port, 0x44, temp);