diff options
Diffstat (limited to 'src/devices/bus/a2gameio')
-rw-r--r-- | src/devices/bus/a2gameio/computereyes.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/a2gameio/gameio.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/a2gameio/gameio.h | 4 | ||||
-rw-r--r-- | src/devices/bus/a2gameio/gizmo.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/a2gameio/joyport.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/a2gameio/joystick.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/a2gameio/paddles.cpp | 4 |
7 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/bus/a2gameio/computereyes.cpp b/src/devices/bus/a2gameio/computereyes.cpp index 38b100586e4..7303b671512 100644 --- a/src/devices/bus/a2gameio/computereyes.cpp +++ b/src/devices/bus/a2gameio/computereyes.cpp @@ -22,7 +22,7 @@ class apple2_compeyes_device : public device_t, public device_a2gameio_interface { public: // construction/destruction - apple2_compeyes_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + apple2_compeyes_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides @@ -48,7 +48,7 @@ private: // DEVICE IMPLEMENTATION //************************************************************************** -apple2_compeyes_device::apple2_compeyes_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +apple2_compeyes_device::apple2_compeyes_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, APPLE2_COMPUTEREYES, tag, owner, clock) , device_a2gameio_interface(mconfig, *this) , m_picture(*this, "srcimg") diff --git a/src/devices/bus/a2gameio/gameio.cpp b/src/devices/bus/a2gameio/gameio.cpp index 9a600776a90..82b210c8f64 100644 --- a/src/devices/bus/a2gameio/gameio.cpp +++ b/src/devices/bus/a2gameio/gameio.cpp @@ -62,7 +62,7 @@ // device type definition DEFINE_DEVICE_TYPE(APPLE2_GAMEIO, apple2_gameio_device, "a2gameio", "Apple II Game I/O Connector") -apple2_gameio_device::apple2_gameio_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +apple2_gameio_device::apple2_gameio_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, APPLE2_GAMEIO, tag, owner, clock) , device_single_card_slot_interface<device_a2gameio_interface>(mconfig, *this) , m_intf(nullptr) diff --git a/src/devices/bus/a2gameio/gameio.h b/src/devices/bus/a2gameio/gameio.h index 7ff1771b17b..10ff3241264 100644 --- a/src/devices/bus/a2gameio/gameio.h +++ b/src/devices/bus/a2gameio/gameio.h @@ -25,11 +25,11 @@ class apple2_gameio_device : public device_t, public device_single_card_slot_int { public: // construction/destruction - apple2_gameio_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + apple2_gameio_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); template <typename T> apple2_gameio_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&opts, const char *dflt) - : apple2_gameio_device(mconfig, tag, owner, 0U) + : apple2_gameio_device(mconfig, tag, owner) { option_reset(); opts(*this); diff --git a/src/devices/bus/a2gameio/gizmo.cpp b/src/devices/bus/a2gameio/gizmo.cpp index 999fdf94ded..eee0419e053 100644 --- a/src/devices/bus/a2gameio/gizmo.cpp +++ b/src/devices/bus/a2gameio/gizmo.cpp @@ -19,7 +19,7 @@ class apple2_gizmo_device : public device_t, public device_a2gameio_interface { public: // construction/destruction - apple2_gizmo_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + apple2_gizmo_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides @@ -55,7 +55,7 @@ INPUT_PORTS_END // DEVICE IMPLEMENTATION //************************************************************************** -apple2_gizmo_device::apple2_gizmo_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +apple2_gizmo_device::apple2_gizmo_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, APPLE2_GIZMO, tag, owner, clock) , device_a2gameio_interface(mconfig, *this) , m_player1(*this, "joystick_p1") diff --git a/src/devices/bus/a2gameio/joyport.cpp b/src/devices/bus/a2gameio/joyport.cpp index 1c2f1118216..943f5e3d33b 100644 --- a/src/devices/bus/a2gameio/joyport.cpp +++ b/src/devices/bus/a2gameio/joyport.cpp @@ -25,7 +25,7 @@ class apple2_joyport_device : public device_t, public device_a2gameio_interface { public: // construction/destruction - apple2_joyport_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + apple2_joyport_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides @@ -69,7 +69,7 @@ INPUT_PORTS_END // DEVICE IMPLEMENTATION //************************************************************************** -apple2_joyport_device::apple2_joyport_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +apple2_joyport_device::apple2_joyport_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, APPLE2_JOYPORT, tag, owner, clock) , device_a2gameio_interface(mconfig, *this) , m_player1(*this, "joystick_p1") diff --git a/src/devices/bus/a2gameio/joystick.cpp b/src/devices/bus/a2gameio/joystick.cpp index 498b32757e2..737ddf9ea5e 100644 --- a/src/devices/bus/a2gameio/joystick.cpp +++ b/src/devices/bus/a2gameio/joystick.cpp @@ -17,7 +17,7 @@ class apple2_joystick_device : public device_t, public device_a2gameio_interface { public: // construction/destruction - apple2_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + apple2_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides @@ -93,7 +93,7 @@ INPUT_PORTS_END // DEVICE IMPLEMENTATION //************************************************************************** -apple2_joystick_device::apple2_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +apple2_joystick_device::apple2_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, APPLE2_JOYSTICK, tag, owner, clock) , device_a2gameio_interface(mconfig, *this) , m_joy_x(*this, "joystick_%u_x", 1U) diff --git a/src/devices/bus/a2gameio/paddles.cpp b/src/devices/bus/a2gameio/paddles.cpp index 5f0955fba89..ee38902b826 100644 --- a/src/devices/bus/a2gameio/paddles.cpp +++ b/src/devices/bus/a2gameio/paddles.cpp @@ -17,7 +17,7 @@ class apple2_paddles_device : public device_t, public device_a2gameio_interface { public: // construction/destruction - apple2_paddles_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + apple2_paddles_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides @@ -68,7 +68,7 @@ INPUT_PORTS_END // DEVICE IMPLEMENTATION //************************************************************************** -apple2_paddles_device::apple2_paddles_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +apple2_paddles_device::apple2_paddles_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, APPLE2_PADDLES, tag, owner, clock) , device_a2gameio_interface(mconfig, *this) , m_pdl(*this, "paddle_%u", 1U) |