Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VGA: clip display end against vtotal (bugfix for "Monolith" by TSI).
Part 4 of the demo allows you to select a nonstandard 320x570 to display an image. Their routine however sets up the mode by programming vtotal=594 vdend=1024 vblank=1024-1105 and vretrace=511-527, which confuses DOSBox's calculations on active display area. It also causes the demo to hang because the demo waits for vertical retrace, which no longer functions because of the confusion. This fix limits the display end against vtotal so the demo's strange VGA mode can work correctly.
- Loading branch information