summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/voodoo_2.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_2.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/video/voodoo_2.h')
-rw-r--r--src/devices/video/voodoo_2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/voodoo_2.h b/src/devices/video/voodoo_2.h
index a68886b846e..a4f0c5cb908 100644
--- a/src/devices/video/voodoo_2.h
+++ b/src/devices/video/voodoo_2.h
@@ -173,14 +173,14 @@ class voodoo_2_device : public voodoo_1_device
protected:
// internal construction
- voodoo_2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, voodoo::voodoo_model model);
+ voodoo_2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, voodoo::voodoo_model model);
public:
// nominal clock value
- static constexpr u32 NOMINAL_CLOCK = 90'000'000;
+ static constexpr XTAL NOMINAL_CLOCK = XTAL::u(90'000'000);
// construction
- voodoo_2_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+ voodoo_2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
voodoo_2_device(mconfig, VOODOO_2, tag, owner, clock, voodoo::voodoo_model::VOODOO_2) { }
// address map and read/write helpers