summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/cr16b
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/cr16b')
-rw-r--r--src/devices/cpu/cr16b/cr16b.cpp4
-rw-r--r--src/devices/cpu/cr16b/cr16b.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/cr16b/cr16b.cpp b/src/devices/cpu/cr16b/cr16b.cpp
index c9c6d414caf..89a8cbd15dc 100644
--- a/src/devices/cpu/cr16b/cr16b.cpp
+++ b/src/devices/cpu/cr16b/cr16b.cpp
@@ -15,7 +15,7 @@
// device type definitions
DEFINE_DEVICE_TYPE(CR16B, cr16b_device, "cr16b", "CompactRISC CR16B")
-cr16b_device::cr16b_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, address_map_constructor map)
+cr16b_device::cr16b_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor map)
: cpu_device(mconfig, type, tag, owner, clock)
, m_space_config("program", ENDIANNESS_LITTLE, 16, 21, 0, map)
, m_regs{0}
@@ -32,7 +32,7 @@ cr16b_device::cr16b_device(const machine_config &mconfig, device_type type, cons
}
// TODO: figure out some actual device types instead
-cr16b_device::cr16b_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+cr16b_device::cr16b_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: cr16b_device(mconfig, CR16B, tag, owner, clock, address_map_constructor())
{
}
diff --git a/src/devices/cpu/cr16b/cr16b.h b/src/devices/cpu/cr16b/cr16b.h
index a8028b03108..73d5c59787e 100644
--- a/src/devices/cpu/cr16b/cr16b.h
+++ b/src/devices/cpu/cr16b/cr16b.h
@@ -10,7 +10,7 @@
class cr16b_device : public cpu_device
{
public:
- cr16b_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ cr16b_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
enum {
CR16_PC, CR16_ISP, CR16_INTBASE,
@@ -23,7 +23,7 @@ public:
protected:
// construction/destruction
- cr16b_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, address_map_constructor map);
+ cr16b_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor map);
// device-level overrides
virtual void device_start() override;