Skip to content

Commit

Permalink
vid_svga: engage DPMS when sync signals are disabled on standard modes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 authored Feb 21, 2024
1 parent c902282 commit 0d3ecb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video/vid_svga.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,9 @@ svga_recalctimings(svga_t *svga)
if (!svga->force_old_addr)
svga_recalc_remap_func(svga);

if (svga->render == svga_render_blank && !(svga->crtc[0x17] & 0x80))
svga->dpms = 1;

/* Inform the user interface of any DPMS mode changes. */
if (svga->dpms) {
if (!svga->dpms_ui) {
Expand Down

0 comments on commit 0d3ecb4

Please sign in to comment.