summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/voodoo.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/voodoo.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/video/voodoo.h')
-rw-r--r--src/devices/video/voodoo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/voodoo.h b/src/devices/video/voodoo.h
index 94a20c0f7af..d1275bb3322 100644
--- a/src/devices/video/voodoo.h
+++ b/src/devices/video/voodoo.h
@@ -418,7 +418,7 @@ public:
protected:
// internal construction
- generic_voodoo_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, voodoo::voodoo_model model);
+ generic_voodoo_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, voodoo::voodoo_model model);
// device-level overrides
virtual void device_start() override;
@@ -476,14 +476,14 @@ protected:
static constexpr u32 TRIANGLE_SETUP_CLOCKS = 100;
// internal construction
- voodoo_1_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, voodoo::voodoo_model model);
+ voodoo_1_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, voodoo::voodoo_model model);
public:
// nominal clock values
- static constexpr u32 NOMINAL_CLOCK = 50'000'000;
+ static constexpr XTAL NOMINAL_CLOCK = XTAL::u(50'000'000);
// construction
- voodoo_1_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+ voodoo_1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
voodoo_1_device(mconfig, VOODOO_1, tag, owner, clock, voodoo::voodoo_model::VOODOO_1) { }
// destruction