summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/vt50
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/vt50')
-rw-r--r--src/devices/cpu/vt50/vt50.cpp6
-rw-r--r--src/devices/cpu/vt50/vt50.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/cpu/vt50/vt50.cpp b/src/devices/cpu/vt50/vt50.cpp
index 7a964c4be5b..ecb4c0ae936 100644
--- a/src/devices/cpu/vt50/vt50.cpp
+++ b/src/devices/cpu/vt50/vt50.cpp
@@ -70,7 +70,7 @@
DEFINE_DEVICE_TYPE(VT50_CPU, vt50_cpu_device, "vt50_cpu", "DEC VT50 CPU")
DEFINE_DEVICE_TYPE(VT52_CPU, vt52_cpu_device, "vt52_cpu", "DEC VT52 CPU")
-vt5x_cpu_device::vt5x_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int bbits, int ybits)
+vt5x_cpu_device::vt5x_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int bbits, int ybits)
: cpu_device(mconfig, type, tag, owner, clock)
, device_video_interface(mconfig, *this)
, m_rom_config("program", ENDIANNESS_LITTLE, 8, 10, 0)
@@ -122,12 +122,12 @@ vt5x_cpu_device::vt5x_cpu_device(const machine_config &mconfig, device_type type
m_ram_config.m_is_octal = true;
}
-vt50_cpu_device::vt50_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+vt50_cpu_device::vt50_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: vt5x_cpu_device(mconfig, VT50_CPU, tag, owner, clock, 4, 4)
{
}
-vt52_cpu_device::vt52_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+vt52_cpu_device::vt52_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: vt5x_cpu_device(mconfig, VT52_CPU, tag, owner, clock, 7, 5)
, m_graphic_callback(*this)
{
diff --git a/src/devices/cpu/vt50/vt50.h b/src/devices/cpu/vt50/vt50.h
index e9d0b39b1bc..ac664b1f318 100644
--- a/src/devices/cpu/vt50/vt50.h
+++ b/src/devices/cpu/vt50/vt50.h
@@ -38,7 +38,7 @@ public:
protected:
// construction/destruction
- vt5x_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int bbits, int ybits);
+ vt5x_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int bbits, int ybits);
// device-level overrides
virtual void device_config_complete() override;
@@ -136,7 +136,7 @@ class vt50_cpu_device : public vt5x_cpu_device
{
public:
// device type constructor
- vt50_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ vt50_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// device_disasm_interface overrides
@@ -149,7 +149,7 @@ class vt52_cpu_device : public vt5x_cpu_device
{
public:
// device type constructor
- vt52_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ vt52_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
auto graphic_callback() { return m_graphic_callback.bind(); }