mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-02 21:32:52 +00:00
Fix some debugging mistakes/leftovers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5458 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
17e1592d27
commit
1792f2867c
1 changed files with 0 additions and 2 deletions
2
hw/vga.c
2
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"
|
||||
|
|
Loading…
Reference in a new issue