summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/m3002.cpp
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2021-09-11 21:40:00 -0700
committer Aaron Giles <aaron@aarongiles.com>2021-09-11 21:40:00 -0700
commita1dde21708f6764211f7d6f0a41caef7682b2693 (patch)
tree64b87b5c1bd5190728062e7f63521eaf2ad92da9 /src/devices/machine/m3002.cpp
parente94edaf482f4fb5644703599108ee7ce3b5ebbd1 (diff)
Add adjust_periodic() to persistent_timer. Update obvious situations where it can be used. Convert a few drivers from timer devices to plain timers to avoid adding adjust_persistent() to the timer device as well.
Diffstat (limited to 'src/devices/machine/m3002.cpp')
-rw-r--r--src/devices/machine/m3002.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/m3002.cpp b/src/devices/machine/m3002.cpp
index 55339217544..b5827f3aef2 100644
--- a/src/devices/machine/m3002.cpp
+++ b/src/devices/machine/m3002.cpp
@@ -102,7 +102,7 @@ void m3002_device::device_start()
void m3002_device::device_clock_changed()
{
attotime second = clocks_to_attotime(32768);
- m_second_timer->adjust(second, 0, second);
+ m_second_timer->adjust_periodic(second);
}