summaryrefslogtreecommitdiff
path: root/src/ast_mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast_mode.c')
-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);
}