Revision 74475455 hw/sb16.c

b/hw/sb16.c
766 766
                    if (s->aux_ts) {
767 767
                        qemu_mod_timer (
768 768
                            s->aux_ts,
769
                            qemu_get_clock (vm_clock) + ticks
769
                            qemu_get_clock_ns (vm_clock) + ticks
770 770
                            );
771 771
                    }
772 772
                }
......
1361 1361
    s->csp_regs[9] = 0xf8;
1362 1362

  
1363 1363
    reset_mixer (s);
1364
    s->aux_ts = qemu_new_timer (vm_clock, aux_timer, s);
1364
    s->aux_ts = qemu_new_timer_ns (vm_clock, aux_timer, s);
1365 1365
    if (!s->aux_ts) {
1366 1366
        dolog ("warning: Could not create auxiliary timer\n");
1367 1367
    }

Also available in: Unified diff