summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/clipper
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/clipper')
-rw-r--r--src/devices/cpu/clipper/clipper.cpp8
-rw-r--r--src/devices/cpu/clipper/clipper.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/cpu/clipper/clipper.cpp b/src/devices/cpu/clipper/clipper.cpp
index e310b66ea62..d48ef9ae9b0 100644
--- a/src/devices/cpu/clipper/clipper.cpp
+++ b/src/devices/cpu/clipper/clipper.cpp
@@ -51,28 +51,28 @@ DEFINE_DEVICE_TYPE(CLIPPER_C100, clipper_c100_device, "clipper_c100", "C100 CLIP
DEFINE_DEVICE_TYPE(CLIPPER_C300, clipper_c300_device, "clipper_c300", "C300 CLIPPER")
DEFINE_DEVICE_TYPE(CLIPPER_C400, clipper_c400_device, "clipper_c400", "C400 CLIPPER")
-clipper_c100_device::clipper_c100_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+clipper_c100_device::clipper_c100_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: clipper_device(mconfig, CLIPPER_C100, tag, owner, clock, ENDIANNESS_LITTLE, SSW_ID_C1R1)
, m_icammu(*this, "^cammu_i")
, m_dcammu(*this, "^cammu_d")
{
}
-clipper_c300_device::clipper_c300_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+clipper_c300_device::clipper_c300_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: clipper_device(mconfig, CLIPPER_C300, tag, owner, clock, ENDIANNESS_LITTLE, SSW_ID_C3R1)
, m_icammu(*this, "^cammu_i")
, m_dcammu(*this, "^cammu_d")
{
}
-clipper_c400_device::clipper_c400_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+clipper_c400_device::clipper_c400_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: clipper_device(mconfig, CLIPPER_C400, tag, owner, clock, ENDIANNESS_LITTLE, SSW_ID_C4R4)
, m_db_pc(0)
, m_cammu(*this, "^cammu")
{
}
-clipper_device::clipper_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, const endianness_t endianness, const u32 cpuid)
+clipper_device::clipper_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, const endianness_t endianness, const u32 cpuid)
: cpu_device(mconfig, type, tag, owner, clock)
, m_main_config("main", endianness, 32, 32, 0)
, m_io_config("io", endianness, 32, 32, 0)
diff --git a/src/devices/cpu/clipper/clipper.h b/src/devices/cpu/clipper/clipper.h
index 3e78a5fdfff..f6e492f5496 100644
--- a/src/devices/cpu/clipper/clipper.h
+++ b/src/devices/cpu/clipper/clipper.h
@@ -148,7 +148,7 @@ public:
};
protected:
- clipper_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, const endianness_t endianness, const u32 cpuid);
+ clipper_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, const endianness_t endianness, const u32 cpuid);
// device-level overrides
virtual void device_start() override;
@@ -325,7 +325,7 @@ protected:
class clipper_c100_device : public clipper_device
{
public:
- clipper_c100_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ clipper_c100_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
virtual cammu_device &get_icammu() const override { return *m_icammu; }
@@ -339,7 +339,7 @@ private:
class clipper_c300_device : public clipper_device
{
public:
- clipper_c300_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ clipper_c300_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
virtual cammu_device &get_icammu() const override { return *m_icammu; }
@@ -353,7 +353,7 @@ private:
class clipper_c400_device : public clipper_device
{
public:
- clipper_c400_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ clipper_c400_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// device-level overrides
1000'>2016-07-011-11/+0 |\ | * Cleanups to the software list menu Nathan Woods2016-06-301-11/+0 * | MT06268 fix crash when drawing menus Vas Crabb2016-07-011-69/+52 |/ * Usage of emplace[_back]() as per cuavas Nathan Woods2016-06-301-2/+2 * Changed a variable declaration to be 'auto' Nathan Woods2016-06-301-1/+1 * More use of std::move() Nathan Woods2016-06-301-2/+2 * Corrected a n00b C++ move error Nathan Woods2016-06-291-1/+1 * Added a move constructor and got rid of the 'const char *' overload. I had t...