Aspect correction fixes for CGA composite, Hercules graphics, 350-line text modes, 400-line VESA modes, and VGA ModeX (God of Thunder, Lost Vikings, Wrath of Earth, etc.)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3913
This commit is contained in:
parent
937dcdb1ee
commit
ba3110ca07
2 changed files with 8 additions and 4 deletions
|
@ -1006,7 +1006,9 @@ bool INT10_SetVideoMode(Bit16u mode) {
|
|||
if (svgaCard == SVGA_S3Trio) {
|
||||
/* Setup the correct clock */
|
||||
if (CurMode->mode>=0x100) {
|
||||
misc_output|=0xef; //Select clock 3
|
||||
if (CurMode->vdispend>480)
|
||||
misc_output|=0xc0; //480-line sync
|
||||
misc_output|=0x0c; //Select clock 3
|
||||
Bitu clock=CurMode->vtotal*8*CurMode->htotal*70;
|
||||
VGA_SetClock(3,clock/1000);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue