diff options
Diffstat (limited to 'src/devices/video/voodoo_pci.h')
-rw-r--r-- | src/devices/video/voodoo_pci.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/video/voodoo_pci.h b/src/devices/video/voodoo_pci.h index c56358b2c2f..283432b86df 100644 --- a/src/devices/video/voodoo_pci.h +++ b/src/devices/video/voodoo_pci.h @@ -25,7 +25,7 @@ public: void vga_w(offs_t offset, u32 data, u32 mem_mask = ~0); protected: - voodoo_pci_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); + voodoo_pci_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); virtual void map_extra(u64 memory_window_start, u64 memory_window_end, u64 memory_offset, address_space *memory_space, u64 io_window_start, u64 io_window_end, u64 io_offset, address_space *io_space) override; @@ -53,14 +53,14 @@ class voodoo_1_pci_device : public voodoo_pci_device { public: template <typename T, typename U> - voodoo_1_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock, T &&cpu_tag, U &&screen_tag) - : voodoo_1_pci_device(mconfig, tag, owner, clock) + voodoo_1_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&cpu_tag, U &&screen_tag) + : voodoo_1_pci_device(mconfig, tag, owner) { set_cpu(std::forward<T>(cpu_tag)); set_screen(std::forward<U>(screen_tag)); } - voodoo_1_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + voodoo_1_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); protected: virtual void device_start() override; @@ -72,14 +72,14 @@ class voodoo_2_pci_device : public voodoo_pci_device { public: template <typename T, typename U> - voodoo_2_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock, T &&cpu_tag, U &&screen_tag) - : voodoo_2_pci_device(mconfig, tag, owner, clock) + voodoo_2_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&cpu_tag, U &&screen_tag) + : voodoo_2_pci_device(mconfig, tag, owner) { set_cpu(std::forward<T>(cpu_tag)); set_screen(std::forward<U>(screen_tag)); } - voodoo_2_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + voodoo_2_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); protected: virtual void device_start() override; @@ -91,14 +91,14 @@ class voodoo_banshee_pci_device : public voodoo_pci_device { public: template <typename T, typename U> - voodoo_banshee_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock, T &&cpu_tag, U &&screen_tag) - : voodoo_banshee_pci_device(mconfig, tag, owner, clock) + voodoo_banshee_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&cpu_tag, U &&screen_tag) + : voodoo_banshee_pci_device(mconfig, tag, owner) { set_cpu(std::forward<T>(cpu_tag)); set_screen(std::forward<U>(screen_tag)); } - voodoo_banshee_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + voodoo_banshee_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); protected: virtual void device_start() override; @@ -113,14 +113,14 @@ class voodoo_3_pci_device : public voodoo_pci_device { public: template <typename T, typename U> - voodoo_3_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock, T &&cpu_tag, U &&screen_tag) - : voodoo_3_pci_device(mconfig, tag, owner, clock) + voodoo_3_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&cpu_tag, U &&screen_tag) + : voodoo_3_pci_device(mconfig, tag, owner) { set_cpu(std::forward<T>(cpu_tag)); set_screen(std::forward<U>(screen_tag)); } - voodoo_3_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + voodoo_3_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); protected: virtual void device_start() override; |