diff options
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 |
commit | f534d245c02059be44071e9c37f38497f12f67f8 (patch) | |
tree | b7b724026e8005bed1a42de7b3b6ea72178e4554 /src/mame/drivers/dlair.c | |
parent | 1e88333178b63ee0d5b914e181b19b3b161f807b (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/mame/drivers/dlair.c')
-rw-r--r-- | src/mame/drivers/dlair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/dlair.c b/src/mame/drivers/dlair.c index bba93dfc256..2290282c147 100644 --- a/src/mame/drivers/dlair.c +++ b/src/mame/drivers/dlair.c @@ -731,7 +731,7 @@ static MACHINE_CONFIG_START( dleuro, dlair_state ) MCFG_Z80CTC_ADD("ctc", MASTER_CLOCK_EURO/4 /* same as "maincpu" */, ctc_intf) MCFG_Z80SIO_ADD("sio", MASTER_CLOCK_EURO/4 /* same as "maincpu" */, sio_intf) - MCFG_WATCHDOG_TIME_INIT(HZ(MASTER_CLOCK_EURO/(16*16*16*16*16*8))) + MCFG_WATCHDOG_TIME_INIT(attotime::from_hz(MASTER_CLOCK_EURO/(16*16*16*16*16*8))) MCFG_MACHINE_START(dlair) MCFG_MACHINE_RESET(dlair) |