summaryrefslogtreecommitdiff
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
parente81e70ea3833f25dc5ec1def6257958e7c8ad0e8 (diff)
Fixed the incorrect settings of Graphics registers
-rw-r--r--ChangeLog4
-rw-r--r--src/ast_mode.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4237daf..0d83f73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-21 Y.C. Chen <yc_chen@aspeedtech.com>
+ * src/ast_mode.c
+ Fixed Incorrect Settings for Graphices Registers
+
2008-03-18 Y.C. Chen <yc_chen@aspeedtech.com>
* src/ast_2dtool.c
* src/ast_tool.c
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);
}