Skip to content

Commit

Permalink
MGA: Don't reset screen size every recalctimings
Browse files Browse the repository at this point in the history
Fixes intense resizing.
  • Loading branch information
Cacodemon345 authored Dec 22, 2023
1 parent e469861 commit 9ca9abe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/vid_mga.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,6 @@ mystique_recalctimings(svga_t *svga)

svga->fb_only = svga->packed_chain4;
svga->disable_blink = (svga->bpp > 4);
reset_screen_size();
video_force_resize_set_monitor(1, svga->monitor_index);
#if 0
pclog("PackedChain4=%d, chain4=%x, fast=%x, bit6 attrreg10=%02x, bits 5-6 gdcreg5=%02x, extmode=%02x.\n", svga->packed_chain4, svga->chain4, svga->fast, svga->attrregs[0x10] & 0x40, svga->gdcreg[5] & 0x60, mystique->pci_regs[0x41] & 1, mystique->crtcext_regs[3] & CRTCX_R3_MGAMODE);
Expand Down

0 comments on commit 9ca9abe

Please sign in to comment.