Commit 1792f2867c645ac8d587e30b30bdc6e0bb28a0d0

Authored by malc
1 parent 17e1592d

Fix some debugging mistakes/leftovers

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5458 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 2 deletions
hw/vga.c
... ... @@ -199,7 +199,6 @@ static void vga_precise_update_retrace_info(VGAState *s)
199 199 htotal_chars <<= clocking_mode;
200 200  
201 201 r->total_chars = vtotal_lines * htotal_chars;
202   - r->total_chars = (vretr_start_line + vretr_end_line + 1) * htotal_chars;
203 202 if (r->freq) {
204 203 r->ticks_per_char = ticks_per_sec / (r->total_chars * r->freq);
205 204 } else {
... ... @@ -214,7 +213,6 @@ static void vga_precise_update_retrace_info(VGAState *s)
214 213 r->htotal = htotal_chars;
215 214  
216 215 #if 0
217   - printf("hz=%f\n",
218 216 printf (
219 217 "hz=%f\n"
220 218 "htotal = %d\n"
... ...