Fix fps for ega
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1457
This commit is contained in:
parent
e548646683
commit
fa9eb4efa6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue