Calculate horizontal sync timings. Fixes Titus the Fox with Hercules emulation.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3559
This commit is contained in:
parent
3689afd77e
commit
3e4f029a49
1 changed files with 3 additions and 2 deletions
|
@ -1098,8 +1098,9 @@ void VGA_SetupDrawing(Bitu /*val*/) {
|
|||
// Start and End of horizontal blanking
|
||||
vga.draw.delay.hblkstart = hbstart*1000.0/clock; //in milliseconds
|
||||
vga.draw.delay.hblkend = hbend*1000.0/clock;
|
||||
vga.draw.delay.hrstart = 0;
|
||||
|
||||
// Start and End of horizontal retrace
|
||||
vga.draw.delay.hrstart = hrstart*1000.0/clock;
|
||||
vga.draw.delay.hrend = hrend*1000.0/clock;
|
||||
// Start and End of vertical blanking
|
||||
vga.draw.delay.vblkstart = vbstart * vga.draw.delay.htotal;
|
||||
vga.draw.delay.vblkend = vbend * vga.draw.delay.htotal;
|
||||
|
|
Loading…
Add table
Reference in a new issue