Revision 9586fefe hw/cirrus_vga.c
b/hw/cirrus_vga.c | ||
---|---|---|
1392 | 1392 |
break; |
1393 | 1393 |
} |
1394 | 1394 |
|
1395 |
vga_update_resolution((VGAState *)s); |
|
1396 |
|
|
1395 | 1397 |
return CIRRUS_HOOK_HANDLED; |
1396 | 1398 |
} |
1397 | 1399 |
|
... | ... | |
1419 | 1421 |
#endif |
1420 | 1422 |
} |
1421 | 1423 |
s->cirrus_hidden_dac_lockindex = 0; |
1424 |
vga_update_resolution((VGAState *)s); |
|
1422 | 1425 |
} |
1423 | 1426 |
|
1424 | 1427 |
/*************************************** |
... | ... | |
1705 | 1708 |
break; |
1706 | 1709 |
} |
1707 | 1710 |
|
1711 |
vga_update_resolution((VGAState *)s); |
|
1712 |
|
|
1708 | 1713 |
return CIRRUS_HOOK_HANDLED; |
1709 | 1714 |
} |
1710 | 1715 |
|
... | ... | |
2830 | 2835 |
if (s->ar_flip_flop == 0) { |
2831 | 2836 |
val &= 0x3f; |
2832 | 2837 |
s->ar_index = val; |
2838 |
vga_update_resolution((VGAState *)s); |
|
2833 | 2839 |
} else { |
2834 | 2840 |
index = s->ar_index & 0x1f; |
2835 | 2841 |
switch (index) { |
... | ... | |
2923 | 2929 |
/* can always write bit 4 of CR7 */ |
2924 | 2930 |
if (s->cr_index == 7) |
2925 | 2931 |
s->cr[7] = (s->cr[7] & ~0x10) | (val & 0x10); |
2932 |
vga_update_resolution((VGAState *)s); |
|
2926 | 2933 |
return; |
2927 | 2934 |
} |
2928 | 2935 |
switch (s->cr_index) { |
... | ... | |
2951 | 2958 |
s->update_retrace_info((VGAState *) s); |
2952 | 2959 |
break; |
2953 | 2960 |
} |
2961 |
vga_update_resolution((VGAState *)s); |
|
2954 | 2962 |
break; |
2955 | 2963 |
case 0x3ba: |
2956 | 2964 |
case 0x3da: |
... | ... | |
3157 | 3165 |
|
3158 | 3166 |
cirrus_update_memory_access(s); |
3159 | 3167 |
/* force refresh */ |
3160 |
s->graphic_mode = -1; |
|
3168 |
vga_update_resolution((VGAState *)s); |
|
3169 |
s->want_full_update = 1; |
|
3161 | 3170 |
cirrus_update_bank_ptr(s, 0); |
3162 | 3171 |
cirrus_update_bank_ptr(s, 1); |
3163 | 3172 |
return 0; |
Also available in: Unified diff