Add DPMS support to Mystique

This commit is contained in:
RichardG867
2021-04-13 15:26:12 -03:00
parent 94eae848a3
commit aed2b179ab

View File

@@ -691,6 +691,8 @@ mystique_out(uint16_t addr, uint8_t val, void *p)
case 0x3df:
if (mystique->crtcext_idx < 6)
mystique->crtcext_regs[mystique->crtcext_idx] = val;
if (mystique->crtcext_idx == 1)
svga->dpms = !!(val & 0x30);
if (mystique->crtcext_idx < 4) {
svga->fullchange = changeframecount;
svga_recalctimings(svga);