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,7 +199,6 @@ static void vga_precise_update_retrace_info(VGAState *s)
199 htotal_chars <<= clocking_mode; 199 htotal_chars <<= clocking_mode;
200 200
201 r->total_chars = vtotal_lines * htotal_chars; 201 r->total_chars = vtotal_lines * htotal_chars;
202 - r->total_chars = (vretr_start_line + vretr_end_line + 1) * htotal_chars;  
203 if (r->freq) { 202 if (r->freq) {
204 r->ticks_per_char = ticks_per_sec / (r->total_chars * r->freq); 203 r->ticks_per_char = ticks_per_sec / (r->total_chars * r->freq);
205 } else { 204 } else {
@@ -214,7 +213,6 @@ static void vga_precise_update_retrace_info(VGAState *s) @@ -214,7 +213,6 @@ static void vga_precise_update_retrace_info(VGAState *s)
214 r->htotal = htotal_chars; 213 r->htotal = htotal_chars;
215 214
216 #if 0 215 #if 0
217 - printf("hz=%f\n",  
218 printf ( 216 printf (
219 "hz=%f\n" 217 "hz=%f\n"
220 "htotal = %d\n" 218 "htotal = %d\n"