Revision aba35a6c
b/hw/vga.c | ||
---|---|---|
1619 | 1619 |
s->double_scan = double_scan; |
1620 | 1620 |
} |
1621 | 1621 |
|
1622 |
if (shift_control == 0) { |
|
1623 |
if (s->sr[0x01] & 8) { |
|
1624 |
disp_width <<= 1; |
|
1625 |
} |
|
1626 |
} else if (shift_control == 1) { |
|
1627 |
if (s->sr[0x01] & 8) { |
|
1628 |
disp_width <<= 1; |
|
1629 |
} |
|
1630 |
} |
|
1631 |
|
|
1622 | 1632 |
depth = s->get_bpp(s); |
1623 | 1633 |
if (s->line_offset != s->last_line_offset || |
1624 | 1634 |
disp_width != s->last_width || |
... | ... | |
1660 | 1670 |
full_update |= update_palette16(s); |
1661 | 1671 |
if (s->sr[0x01] & 8) { |
1662 | 1672 |
v = VGA_DRAW_LINE4D2; |
1663 |
disp_width <<= 1; |
|
1664 | 1673 |
} else { |
1665 | 1674 |
v = VGA_DRAW_LINE4; |
1666 | 1675 |
} |
... | ... | |
1669 | 1678 |
full_update |= update_palette16(s); |
1670 | 1679 |
if (s->sr[0x01] & 8) { |
1671 | 1680 |
v = VGA_DRAW_LINE2D2; |
1672 |
disp_width <<= 1; |
|
1673 | 1681 |
} else { |
1674 | 1682 |
v = VGA_DRAW_LINE2; |
1675 | 1683 |
} |
Also available in: Unified diff