]> git.proxmox.com Git - qemu.git/blobdiff - hw/vga.c
change all other clock references to use nanosecond resolution accessors
[qemu.git] / hw / vga.c
index 3ef85fbf9758c3ad921f93f664e10a2b95fd69aa..124295ae52712689a4cdea2daa5c43f16e6531d5 100644 (file)
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -260,7 +260,7 @@ static uint8_t vga_precise_retrace(VGACommonState *s)
         int cur_line, cur_line_char, cur_char;
         int64_t cur_tick;
 
-        cur_tick = qemu_get_clock(vm_clock);
+        cur_tick = qemu_get_clock_ns(vm_clock);
 
         cur_char = (cur_tick / r->ticks_per_char) % r->total_chars;
         cur_line = cur_char / r->htotal;