summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/fixfreq.h
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.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/video/fixfreq.h')
-rw-r--r--src/devices/video/fixfreq.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/video/fixfreq.h b/src/devices/video/fixfreq.h
index 482016ba97e..5d940019e5d 100644
--- a/src/devices/video/fixfreq.h
+++ b/src/devices/video/fixfreq.h
@@ -255,12 +255,12 @@ public:
using time_type = fixedfreq_monitor_state::time_type;
// construction/destruction
- fixedfreq_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
+ fixedfreq_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
// inline configuration helpers
- fixedfreq_device &set_monitor_clock(uint32_t clock)
+ fixedfreq_device &set_monitor_clock(const XTAL &clock)
{
- m_monitor.m_monitor_clock = clock;
+ m_monitor.m_monitor_clock = clock.value();
return *this;
}
fixedfreq_device &set_fieldcount(int count)
@@ -304,7 +304,7 @@ public:
// 799 858 480 486 492 525 interlace
// -hsync -vsync
{
- set_monitor_clock(13500000);
+ set_monitor_clock(XTAL::u(13500000));
set_horz_params(720, 736, 799, 858);
set_vert_params(480, 486, 492, 525);
set_fieldcount(2);
@@ -314,7 +314,7 @@ public:
fixedfreq_device &set_mode_ntsc704() // ModeLine "704x480@30i" 13.5 704 728
// 791 858 480 486 492 525
{
- set_monitor_clock(13500000);
+ set_monitor_clock(XTAL::u(13500000));
set_horz_params(704, 728, 791, 858);
set_vert_params(480, 486, 492, 525);
set_fieldcount(2);
@@ -340,7 +340,7 @@ protected:
device_type type,
const char *tag,
device_t *owner,
- uint32_t clock);
+ const XTAL &clock);
// device-level overrides
virtual void device_config_complete() override;