diff options
author | Francisco Jerez <currojerez@riseup.net> | 2009-02-04 01:56:20 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2009-02-04 01:56:20 +0100 |
commit | 4d98e9c6a6e357ed736cd312a957c1e0a7b1d36b (patch) | |
tree | df096d4c470c0e011058c549fd540a93e5a647ae /src/smilynx_hw.c | |
parent | 1c57cfa814504c33fcad51115d77f2d166fb7903 (diff) |
Dynamically switch virtual refresh mode.
Probably this makes dualhead mode more useful because it makes
possible displaying video on the LCD as long as the CRT output is
disabled or cloned.
Diffstat (limited to 'src/smilynx_hw.c')
-rw-r--r-- | src/smilynx_hw.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/smilynx_hw.c b/src/smilynx_hw.c index 8d2c523..158e20f 100644 --- a/src/smilynx_hw.c +++ b/src/smilynx_hw.c @@ -87,12 +87,8 @@ SMILynx_HWInit(ScrnInfoPtr pScrn) /* Select no displays */ mode->SR31 &= ~0x07; - /* Enable virtual refresh */ - if(pSmi->Dualhead){ - mode->SR31 |= 0x80; - }else{ - mode->SR31 &= ~0x80; - } + /* Disable virtual refresh */ + mode->SR31 &= ~0x80; /* Disable expansion */ mode->SR32 &= ~0x03; |