Add DPMS support to Mystique
This commit is contained in:
@@ -691,6 +691,8 @@ mystique_out(uint16_t addr, uint8_t val, void *p)
|
|||||||
case 0x3df:
|
case 0x3df:
|
||||||
if (mystique->crtcext_idx < 6)
|
if (mystique->crtcext_idx < 6)
|
||||||
mystique->crtcext_regs[mystique->crtcext_idx] = val;
|
mystique->crtcext_regs[mystique->crtcext_idx] = val;
|
||||||
|
if (mystique->crtcext_idx == 1)
|
||||||
|
svga->dpms = !!(val & 0x30);
|
||||||
if (mystique->crtcext_idx < 4) {
|
if (mystique->crtcext_idx < 4) {
|
||||||
svga->fullchange = changeframecount;
|
svga->fullchange = changeframecount;
|
||||||
svga_recalctimings(svga);
|
svga_recalctimings(svga);
|
||||||
|
Reference in New Issue
Block a user