summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorY.C. Chen <yc_chen@aspeedtech.com>2008-07-21 10:48:09 +0800
committerY.C. Chen <yc_chen@aspeedtech.com>2008-07-21 10:48:09 +0800
commit3aea1540c129c230d84ed8e55586dbfb3d179d33 (patch)
tree6313029c94e95348b23c802899089b75a03004ef /src
parente81e70ea3833f25dc5ec1def6257958e7c8ad0e8 (diff)
Fixed the incorrect settings of Graphics registers
Diffstat (limited to 'src')
-rw-r--r--src/ast_mode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast_mode.c b/src/ast_mode.c
index 624c465..d142ba7 100644
--- a/src/ast_mode.c
+++ b/src/ast_mode.c
@@ -534,6 +534,7 @@ void vSetStdReg(ScrnInfoPtr pScrn, DisplayModePtr mode, PVBIOS_MODE_INFO pVGAMod
/* Set GR */
for (i=0; i<9; i++)
{
+ jReg = pStdModePtr->GR[i];
SetIndexReg(GR_PORT,(UCHAR) i, jReg);
}