aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-11 17:37:25 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-11 17:37:25 +0000
commit1792f2867c645ac8d587e30b30bdc6e0bb28a0d0 (patch)
tree0ec881bc9619c53146ad2077039c4d11487366fb /hw
parent17e1592d278cb93e1505d960648495e5b35bc211 (diff)
Fix some debugging mistakes/leftovers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5458 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/vga.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/vga.c b/hw/vga.c
index 19a9b4ac12..9540db0343 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -199,7 +199,6 @@ static void vga_precise_update_retrace_info(VGAState *s)
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 @@ static void vga_precise_update_retrace_info(VGAState *s)
r->htotal = htotal_chars;
#if 0
- printf("hz=%f\n",
printf (
"hz=%f\n"
"htotal = %d\n"