diff options
author | 2011-02-03 09:06:34 +0000 | |
---|---|---|
committer | 2011-02-03 09:06:34 +0000 | |
commit | f534d245c02059be44071e9c37f38497f12f67f8 (patch) | |
tree | b7b724026e8005bed1a42de7b3b6ea72178e4554 /src/emu/machine/74123.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/emu/machine/74123.c')
-rw-r--r-- | src/emu/machine/74123.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/machine/74123.c b/src/emu/machine/74123.c index 9f72e7b3845..d10a29a29b1 100644 --- a/src/emu/machine/74123.c +++ b/src/emu/machine/74123.c @@ -202,7 +202,7 @@ void ttl74123_device::set_output() { int output = timer_running(); - timer_set( &m_machine, attotime_zero, (void *)this, output, output_callback ); + timer_set( &m_machine, attotime::zero, (void *)this, output, output_callback ); if (LOG) logerror("74123 %s: Output: %d\n", tag(), output); } @@ -325,7 +325,7 @@ void ttl74123_device::clear_w(UINT8 data) } else if (!data) /* clear the output */ { - timer_adjust_oneshot(m_timer, attotime_zero, 0); + timer_adjust_oneshot(m_timer, attotime::zero, 0); if (LOG) logerror("74123 #%s: Cleared\n", tag() ); } |