summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pce_ctrl
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pce_ctrl')
-rw-r--r--src/devices/bus/pce_ctrl/joypad2.cpp6
-rw-r--r--src/devices/bus/pce_ctrl/joypad2.h6
-rw-r--r--src/devices/bus/pce_ctrl/joypad6.cpp8
-rw-r--r--src/devices/bus/pce_ctrl/joypad6.h8
-rw-r--r--src/devices/bus/pce_ctrl/multitap.cpp2
-rw-r--r--src/devices/bus/pce_ctrl/multitap.h2
-rw-r--r--src/devices/bus/pce_ctrl/pcectrl.cpp2
-rw-r--r--src/devices/bus/pce_ctrl/pcectrl.h4
8 files changed, 19 insertions, 19 deletions
diff --git a/src/devices/bus/pce_ctrl/joypad2.cpp b/src/devices/bus/pce_ctrl/joypad2.cpp
index 2da64ed49ce..192fa78142f 100644
--- a/src/devices/bus/pce_ctrl/joypad2.cpp
+++ b/src/devices/bus/pce_ctrl/joypad2.cpp
@@ -99,14 +99,14 @@ ioport_constructor pce_joypad2_turbo_device::device_input_ports() const
// pce_joypad2_device - constructor
//-------------------------------------------------
-pce_joypad2_device::pce_joypad2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) :
+pce_joypad2_device::pce_joypad2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
device_t(mconfig, type, tag, owner, clock),
device_pce_control_port_interface(mconfig, *this),
m_muxer(*this, "mux")
{
}
-pce_joypad2_device::pce_joypad2_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+pce_joypad2_device::pce_joypad2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
pce_joypad2_device(mconfig, PCE_JOYPAD2, tag, owner, clock)
{
}
@@ -116,7 +116,7 @@ pce_joypad2_device::pce_joypad2_device(const machine_config &mconfig, const char
// pce_joypad2_turbo_device - constructor
//-------------------------------------------------
-pce_joypad2_turbo_device::pce_joypad2_turbo_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+pce_joypad2_turbo_device::pce_joypad2_turbo_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
pce_joypad2_device(mconfig, PCE_JOYPAD2_TURBO, tag, owner, clock),
m_buttons_io(*this, "BUTTONS"),
m_turbo_io(*this, "TURBO"),
diff --git a/src/devices/bus/pce_ctrl/joypad2.h b/src/devices/bus/pce_ctrl/joypad2.h
index 13fc0cbe7de..b156bcd96b4 100644
--- a/src/devices/bus/pce_ctrl/joypad2.h
+++ b/src/devices/bus/pce_ctrl/joypad2.h
@@ -28,11 +28,11 @@ class pce_joypad2_device : public device_t,
{
public:
// construction/destruction
- pce_joypad2_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ pce_joypad2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// construction/destruction
- pce_joypad2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
+ pce_joypad2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// optional information overrides
virtual ioport_constructor device_input_ports() const override;
@@ -56,7 +56,7 @@ class pce_joypad2_turbo_device : public pce_joypad2_device
{
public:
// construction/destruction
- pce_joypad2_turbo_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ pce_joypad2_turbo_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// optional information overrides
diff --git a/src/devices/bus/pce_ctrl/joypad6.cpp b/src/devices/bus/pce_ctrl/joypad6.cpp
index b11d400d5d1..101ab068cb5 100644
--- a/src/devices/bus/pce_ctrl/joypad6.cpp
+++ b/src/devices/bus/pce_ctrl/joypad6.cpp
@@ -131,7 +131,7 @@ ioport_constructor pce_arcade_pad_6_device::device_input_ports() const
// pce_joypad6_base_device - constructor
//-------------------------------------------------
-pce_joypad6_base_device::pce_joypad6_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) :
+pce_joypad6_base_device::pce_joypad6_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
device_t(mconfig, type, tag, owner, clock),
device_pce_control_port_interface(mconfig, *this),
m_muxer(*this, "mux_%u", 0U),
@@ -146,7 +146,7 @@ pce_joypad6_base_device::pce_joypad6_base_device(const machine_config &mconfig,
// pce_avenue_pad_6_device - constructor
//-------------------------------------------------
-pce_avenue_pad_6_device::pce_avenue_pad_6_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) :
+pce_avenue_pad_6_device::pce_avenue_pad_6_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
pce_joypad6_base_device(mconfig, type, tag, owner, clock),
m_buttons_io(*this, "BUTTONS_%u", 0U),
m_turbo_io(*this, "TURBO")
@@ -154,7 +154,7 @@ pce_avenue_pad_6_device::pce_avenue_pad_6_device(const machine_config &mconfig,
}
-pce_avenue_pad_6_device::pce_avenue_pad_6_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+pce_avenue_pad_6_device::pce_avenue_pad_6_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
pce_avenue_pad_6_device(mconfig, PCE_AVENUE_PAD_6, tag, owner, clock)
{
}
@@ -164,7 +164,7 @@ pce_avenue_pad_6_device::pce_avenue_pad_6_device(const machine_config &mconfig,
// pce_arcade_pad_6_device - constructor
//-------------------------------------------------
-pce_arcade_pad_6_device::pce_arcade_pad_6_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+pce_arcade_pad_6_device::pce_arcade_pad_6_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
pce_avenue_pad_6_device(mconfig, PCE_ARCADE_PAD_6, tag, owner, clock)
{
}
diff --git a/src/devices/bus/pce_ctrl/joypad6.h b/src/devices/bus/pce_ctrl/joypad6.h
index fedac375a22..66b579309b6 100644
--- a/src/devices/bus/pce_ctrl/joypad6.h
+++ b/src/devices/bus/pce_ctrl/joypad6.h
@@ -31,7 +31,7 @@ public:
protected:
// construction/destruction
- pce_joypad6_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
+ pce_joypad6_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device-level overrides
virtual void device_add_mconfig(machine_config &config) override;
@@ -64,11 +64,11 @@ class pce_avenue_pad_6_device : public pce_joypad6_base_device
{
public:
// construction/destruction
- pce_avenue_pad_6_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ pce_avenue_pad_6_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// construction/destruction
- pce_avenue_pad_6_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
+ pce_avenue_pad_6_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// optional information overrides
virtual ioport_constructor device_input_ports() const override;
@@ -90,7 +90,7 @@ class pce_arcade_pad_6_device : public pce_avenue_pad_6_device
{
public:
// construction/destruction
- pce_arcade_pad_6_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ pce_arcade_pad_6_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// optional information overrides
diff --git a/src/devices/bus/pce_ctrl/multitap.cpp b/src/devices/bus/pce_ctrl/multitap.cpp
index 22d08658b77..f71961d73d7 100644
--- a/src/devices/bus/pce_ctrl/multitap.cpp
+++ b/src/devices/bus/pce_ctrl/multitap.cpp
@@ -34,7 +34,7 @@ DEFINE_DEVICE_TYPE(PCE_MULTITAP, pce_multitap_device, "pce_multitap", "NEC PC En
// pce_multitap_device - constructor
//-------------------------------------------------
-pce_multitap_device::pce_multitap_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+pce_multitap_device::pce_multitap_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
device_t(mconfig, PCE_MULTITAP, tag, owner, clock),
device_pce_control_port_interface(mconfig, *this),
m_subctrl_port(*this, "ctrl%u", 1U),
diff --git a/src/devices/bus/pce_ctrl/multitap.h b/src/devices/bus/pce_ctrl/multitap.h
index 5dd3234114b..214053fff3c 100644
--- a/src/devices/bus/pce_ctrl/multitap.h
+++ b/src/devices/bus/pce_ctrl/multitap.h
@@ -27,7 +27,7 @@ class pce_multitap_device : public device_t,
{
public:
// construction/destruction
- pce_multitap_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ pce_multitap_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// device-level overrides
diff --git a/src/devices/bus/pce_ctrl/pcectrl.cpp b/src/devices/bus/pce_ctrl/pcectrl.cpp
index 71e2d9db525..a474b69e493 100644
--- a/src/devices/bus/pce_ctrl/pcectrl.cpp
+++ b/src/devices/bus/pce_ctrl/pcectrl.cpp
@@ -103,7 +103,7 @@ device_pce_control_port_interface::~device_pce_control_port_interface()
// pce_control_port_device - constructor
//-------------------------------------------------
-pce_control_port_device::pce_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+pce_control_port_device::pce_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
device_t(mconfig, PCE_CONTROL_PORT, tag, owner, clock),
device_slot_interface(mconfig, *this),
m_device(nullptr)
diff --git a/src/devices/bus/pce_ctrl/pcectrl.h b/src/devices/bus/pce_ctrl/pcectrl.h
index 3d190f5e1f3..ff5a180810d 100644
--- a/src/devices/bus/pce_ctrl/pcectrl.h
+++ b/src/devices/bus/pce_ctrl/pcectrl.h
@@ -27,7 +27,7 @@ public:
// construction/destruction
template <typename T>
pce_control_port_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt)
- : pce_control_port_device(mconfig, tag, owner, 0)
+ : pce_control_port_device(mconfig, tag, owner)
{
option_reset();
opts(*this);
@@ -35,7 +35,7 @@ public:
set_fixed(false);
}
- pce_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ pce_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual ~pce_control_port_device();
u8 port_r();