diff options
Diffstat (limited to 'src/devices/bus/coleco/hand.h')
-rw-r--r-- | src/devices/bus/coleco/hand.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/coleco/hand.h b/src/devices/bus/coleco/hand.h index 01e4e928534..f65ad709106 100644 --- a/src/devices/bus/coleco/hand.h +++ b/src/devices/bus/coleco/hand.h @@ -6,10 +6,10 @@ **********************************************************************/ -#pragma once +#ifndef MAME_BUS_COLECO_HAND_H +#define MAME_BUS_COLECO_HAND_H -#ifndef __COLECO_HAND_CONTROLLER__ -#define __COLECO_HAND_CONTROLLER__ +#pragma once #include "ctrl.h" @@ -19,14 +19,14 @@ // TYPE DEFINITIONS //************************************************************************** -// ======================> coleco_hand_controller_t +// ======================> coleco_hand_controller_device -class coleco_hand_controller_t : public device_t, +class coleco_hand_controller_device : public device_t, public device_colecovision_control_port_interface { public: // construction/destruction - coleco_hand_controller_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + coleco_hand_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // optional information overrides virtual ioport_constructor device_input_ports() const override; @@ -48,7 +48,7 @@ private: // device type definition -extern const device_type COLECO_HAND_CONTROLLER; +DECLARE_DEVICE_TYPE(COLECO_HAND_CONTROLLER, coleco_hand_controller_device) -#endif +#endif // MAME_BUS_COLECO_HAND_H |