summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/generalplus_gpl16250soc.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/generalplus_gpl16250soc.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/generalplus_gpl16250soc.cpp')
-rw-r--r--src/devices/machine/generalplus_gpl16250soc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/generalplus_gpl16250soc.cpp b/src/devices/machine/generalplus_gpl16250soc.cpp
index b85c98a13d8..4653b5296bc 100644
--- a/src/devices/machine/generalplus_gpl16250soc.cpp
+++ b/src/devices/machine/generalplus_gpl16250soc.cpp
@@ -1628,7 +1628,7 @@ void sunplus_gcm394_base_device::device_reset()
m_system_dma_memtype = 0x0000;
- m_unk_timer->adjust(attotime::from_hz(60), 0, attotime::from_hz(60));
+ m_unk_timer->adjust_periodic(attotime::from_hz(60));
m_spg_video->set_video_spaces(this->space(AS_PROGRAM), *m_cs_space, m_csbase);
m_spg_video->reset();