Revision 9da8ba18

b/hw/vga.c
1124 1124
    disp_width = width;
1125 1125
    
1126 1126
    shift_control = (s->gr[0x05] >> 5) & 3;
1127
    double_scan = (s->cr[0x09] & 0x80);
1127
    if (shift_control > 1)
1128
        double_scan = ((s->cr[0x09] & 0x1f) != 0);
1129
    else
1130
        double_scan = (s->cr[0x09] & 0x80);
1128 1131
    if (shift_control != s->shift_control ||
1129 1132
        double_scan != s->double_scan) {
1130 1133
        full_update = 1;
......
1151 1154
    } else {
1152 1155
        full_update |= update_palette256(s);
1153 1156
        v = VGA_DRAW_LINE8D2;
1154
        double_scan = 1; /* XXX: explain me why it is always activated */
1155 1157
    }
1156 1158
    vga_draw_line = vga_draw_line_table[v * 4 + get_depth_index(s->ds->depth)];
1157 1159

  

Also available in: Unified diff