summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/fixfreq.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/video/fixfreq.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/video/fixfreq.cpp')
-rw-r--r--src/devices/video/fixfreq.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/fixfreq.cpp b/src/devices/video/fixfreq.cpp
index cf4c4bb5517..46e0cd2c508 100644
--- a/src/devices/video/fixfreq.cpp
+++ b/src/devices/video/fixfreq.cpp
@@ -232,7 +232,7 @@ fixedfreq_device::fixedfreq_device(
device_type type,
const char *tag,
device_t *owner,
- uint32_t clock)
+ const XTAL &clock)
: device_t(mconfig, type, tag, owner, clock)
, device_video_interface(mconfig, *this, false)
, m_enable(*this, "ENABLE")
@@ -248,7 +248,7 @@ fixedfreq_device::fixedfreq_device(
const machine_config &mconfig,
const char *tag,
device_t *owner,
- uint32_t clock)
+ const XTAL &clock)
: fixedfreq_device(mconfig, FIXFREQ, tag, owner, clock)
{
}
@@ -273,7 +273,7 @@ void fixedfreq_device::device_config_complete()
if (!screen().refresh_attoseconds())
{
screen().set_raw(
- m_monitor.m_monitor_clock, m_monitor.htotal(), 0,
+ XTAL::u(m_monitor.m_monitor_clock), m_monitor.htotal(), 0,
m_monitor.htotal(), m_monitor.vtotal(), 0,
m_monitor.vtotal());
}