summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/8042kbdc.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-02-03 09:06:34 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-02-03 09:06:34 +0000
commitf534d245c02059be44071e9c37f38497f12f67f8 (patch)
treeb7b724026e8005bed1a42de7b3b6ea72178e4554 /src/emu/machine/8042kbdc.c
parent1e88333178b63ee0d5b914e181b19b3b161f807b (diff)
Attotime bulk conversion step:
attotime_zero => attotime::zero attotime_never => attotime::never ATTOTIME_IN_SEC(s) => attotime::from_seconds(s) ATTOTIME_IN_MSEC(m) => attotime::from_msec(m) ATTOTIME_IN_USEC(u) => attotime::from_usec(u) ATTOTIME_IN_NSEC(n) => attotime::from_nsec(n) ATTOTIME_IN_HZ(h) => attotime::from_hz(h) Also, changed the following MCFG macros to require a full attotime specification: MCFG_TIMER_ADD_PERIODIC MCFG_QUANTUM_TIME MCFG_WATCHDOG_TIME_INIT
Diffstat (limited to 'src/emu/machine/8042kbdc.c')
-rw-r--r--src/emu/machine/8042kbdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/8042kbdc.c b/src/emu/machine/8042kbdc.c
index d7bfbd1723c..6e66911f248 100644
--- a/src/emu/machine/8042kbdc.c
+++ b/src/emu/machine/8042kbdc.c
@@ -279,7 +279,7 @@ void kbdc8042_init(running_machine *machine, const struct kbdc8042_interface *in
kbdc8042.inport = 0xa0;
at_8042_set_outport(machine, 0xfe, 1);
- timer_pulse(machine, ATTOTIME_IN_HZ(60), NULL, 0, kbdc8042_time);
+ timer_pulse(machine, attotime::from_hz(60), NULL, 0, kbdc8042_time);
}
static void at_8042_receive(running_machine *machine, UINT8 data)