diff options
Diffstat (limited to 'src/devices/bus/coleco/sac.h')
-rw-r--r-- | src/devices/bus/coleco/sac.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/coleco/sac.h b/src/devices/bus/coleco/sac.h index 7b6a65b6440..20078e33ef7 100644 --- a/src/devices/bus/coleco/sac.h +++ b/src/devices/bus/coleco/sac.h @@ -6,10 +6,10 @@ **********************************************************************/ -#pragma once +#ifndef MAME_BUS_COLECO_SAC_H +#define MAME_BUS_COLECO_SAC_H -#ifndef __COLECO_SUPER_ACTION_CONTROLLER__ -#define __COLECO_SUPER_ACTION_CONTROLLER__ +#pragma once #include "ctrl.h" @@ -19,14 +19,14 @@ // TYPE DEFINITIONS //************************************************************************** -// ======================> coleco_super_action_controller_t +// ======================> coleco_super_action_controller_device -class coleco_super_action_controller_t : public device_t, +class coleco_super_action_controller_device : public device_t, public device_colecovision_control_port_interface { public: // construction/destruction - coleco_super_action_controller_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + coleco_super_action_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; @@ -49,7 +49,7 @@ private: // device type definition -extern const device_type COLECO_SUPER_ACTION_CONTROLLER; +DECLARE_DEVICE_TYPE(COLECO_SUPER_ACTION_CONTROLLER, coleco_super_action_controller_device) -#endif +#endif // MAME_BUS_COLECO_SAC_H |