summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/v9938.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/video/v9938.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/video/v9938.cpp')
-rw-r--r--src/devices/video/v9938.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/v9938.cpp b/src/devices/video/v9938.cpp
index e2e952c524b..fa1cdbdb035 100644
--- a/src/devices/video/v9938.cpp
+++ b/src/devices/video/v9938.cpp
@@ -708,7 +708,7 @@ void v99x8_device::device_reset()
m_stat_reg[6] = 0xfc;
// Start the timer
- m_line_timer->adjust(attotime::from_ticks(HTOTAL*2, m_clock), 0, attotime::from_ticks(HTOTAL*2, m_clock));
+ m_line_timer->adjust_periodic(attotime::from_ticks(HTOTAL*2, m_clock));
configure_pal_ntsc();
set_screen_parameters();