Skip to contentSkip to conversation

[5458] Fix some debugging mistakes/leftovers

Qemu-devel malc 1 participant 1 message Oct 11, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 5458

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5458
Author:   malc
Date:     2008-10-11 17:37:25 +0000 (Sat, 11 Oct 2008)

Log Message:
-----------
Fix some debugging mistakes/leftovers

Modified Paths:
--------------
trunk/hw/vga.c

Modified: trunk/hw/vga.c
===================================================================

hw/vga.c +0 -2
@@ -199,7 +199,6 @@
     htotal_chars <<= clocking_mode;
 
     r->total_chars = vtotal_lines * htotal_chars;
-    r->total_chars = (vretr_start_line + vretr_end_line + 1) * htotal_chars;
     if (r->freq) {
         r->ticks_per_char = ticks_per_sec / (r->total_chars * r->freq);
     } else {
@@ -214,7 +213,6 @@
     r->htotal = htotal_chars;
 
 #if 0
-    printf("hz=%f\n",
     printf (
         "hz=%f\n"
         "htotal = %d\n"