summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/74123.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-02-06 15:33:04 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-02-06 15:33:04 +0000
commitabdb58671bca0ec733bff6d670efdf8567863734 (patch)
tree712c867aeb8179f0a02b4f2e09cb7c4dc1f6905c /src/emu/machine/74123.c
parente18344a0e78149e3a9046e5b0ffc14da3de93b2c (diff)
Split timer_adjust() into timer_adjust_oneshot() and timer_adjust_periodic().
Updated all call sites. Fixed recent build breaks.
Diffstat (limited to 'src/emu/machine/74123.c')
-rw-r--r--src/emu/machine/74123.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/machine/74123.c b/src/emu/machine/74123.c
index bc7f1f2cc2d..22cc8e8fae0 100644
--- a/src/emu/machine/74123.c
+++ b/src/emu/machine/74123.c
@@ -129,7 +129,7 @@ static void start_pulse(TTL74123_state *chip)
if (attotime_compare(timer_timeelapsed(chip->timer), delay_time) >= 0)
{
- timer_adjust(chip->timer, duration, 0, attotime_never);
+ timer_adjust_oneshot(chip->timer, duration, 0);
if (LOG) logerror("74123 #%d: Retriggering pulse. Duration: %f\n", chip->which, attotime_to_double(duration));
}
@@ -141,7 +141,7 @@ static void start_pulse(TTL74123_state *chip)
else
{
/* starting */
- timer_adjust(chip->timer, duration, 0, attotime_never);
+ timer_adjust_oneshot(chip->timer, duration, 0);
set_output(chip);
@@ -181,7 +181,7 @@ void TTL74123_clear_w(int which, int data)
/* clear the output if A=LO, B=HI and falling edge on clear */
if (!data && chip->clear && chip->B && !chip->A && !chip->clear)
{
- timer_adjust(chip->timer, attotime_zero, 0, attotime_never);
+ timer_adjust_oneshot(chip->timer, attotime_zero, 0);
if (LOG) logerror("74123 #%d: Cleared\n", which);
}