From a1dde21708f6764211f7d6f0a41caef7682b2693 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sat, 11 Sep 2021 21:40:00 -0700 Subject: 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. --- src/devices/machine/8042kbdc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices/machine/8042kbdc.cpp') diff --git a/src/devices/machine/8042kbdc.cpp b/src/devices/machine/8042kbdc.cpp index 2789da21dfd..b0b7265486d 100644 --- a/src/devices/machine/8042kbdc.cpp +++ b/src/devices/machine/8042kbdc.cpp @@ -100,7 +100,7 @@ void kbdc8042_device::device_reset() m_mouse_y = 0; m_mouse_btn = 0; - m_update_timer->adjust(attotime::from_hz(100), 0, attotime::from_hz(100)); + m_update_timer->adjust_periodic(attotime::from_hz(100)); } void kbdc8042_device::at_8042_set_outport(uint8_t data, int initial) -- cgit v1.2.3