adjust cga machine htotal/vtotal (thanks to MobyGamer and reenigne!)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2756
This commit is contained in:
parent
f7f853ddf7
commit
89d0cd5778
1 changed files with 2 additions and 2 deletions
|
@ -609,10 +609,10 @@ void VGA_SetupDrawing(Bitu val) {
|
|||
vga.draw.double_scan=(vga.crtc.maximum_scan_line&0x80)>0;
|
||||
} else {
|
||||
vga.draw.address_line_total=vga.other.max_scanline+1;
|
||||
htotal=vga.other.htotal;
|
||||
htotal=vga.other.htotal+1;
|
||||
hdispend=vga.other.hdend;
|
||||
hrstart=vga.other.hsyncp;
|
||||
vtotal=vga.draw.address_line_total*vga.other.vtotal+vga.other.vadjust;
|
||||
vtotal=vga.draw.address_line_total*(vga.other.vtotal+1)+vga.other.vadjust;
|
||||
vdispend=vga.draw.address_line_total*vga.other.vdend;
|
||||
vrstart=vga.draw.address_line_total*vga.other.vsyncp;
|
||||
vga.draw.double_scan=false;
|
||||
|
|
Loading…
Add table
Reference in a new issue