1
0
Fork 0

Fix fps for ega

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1457
This commit is contained in:
Sjoerd van der Berg 2003-11-21 19:28:50 +00:00
parent e548646683
commit fa9eb4efa6

View file

@ -366,7 +366,6 @@ void VGA_SetupDrawing(void) {
if (vga.seq.clocking_mode & 1 ) clock/=8; else clock/=9;
/* Check for pixel doubling, master clock/2 */
if (vga.seq.clocking_mode & 0x8) {
clock/=2;
htotal*=2;
}
/* Check for dual transfer whatever thing,master clock/2 */
@ -424,6 +423,7 @@ void VGA_SetupDrawing(void) {
width*=9;
height=384;
pitch=width;
aspect_ratio=1.0;
break;
case M_TANDY16:
width<<=3;