From 202c4425a4503526b0ba8321b7840d6806c0277b Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Wed, 14 Apr 2021 16:08:20 -0300 Subject: [PATCH] Add DPMS support to ATI Mach64 (not functional at least on Windows XP) --- src/video/vid_ati_mach64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/vid_ati_mach64.c b/src/video/vid_ati_mach64.c index ed554309b..0d816ba7f 100644 --- a/src/video/vid_ati_mach64.c +++ b/src/video/vid_ati_mach64.c @@ -2282,6 +2282,7 @@ void mach64_ext_writeb(uint32_t addr, uint8_t val, void *p) svga->fb_only = 1; else svga->fb_only = 0; + svga->dpms = !!(mach64->crtc_gen_cntl & 0x0c); svga_recalctimings(&mach64->svga); break;