summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coleco/controller/sac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/coleco/controller/sac.h')
-rw-r--r--src/devices/bus/coleco/controller/sac.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/bus/coleco/controller/sac.h b/src/devices/bus/coleco/controller/sac.h
index 20078e33ef7..ba7df71efd1 100644
--- a/src/devices/bus/coleco/controller/sac.h
+++ b/src/devices/bus/coleco/controller/sac.h
@@ -6,8 +6,8 @@
**********************************************************************/
-#ifndef MAME_BUS_COLECO_SAC_H
-#define MAME_BUS_COLECO_SAC_H
+#ifndef MAME_BUS_COLECO_CONTROLLER_SAC_H
+#define MAME_BUS_COLECO_CONTROLLER_SAC_H
#pragma once
@@ -29,14 +29,14 @@ public:
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;
+ virtual ioport_constructor device_input_ports() const override ATTR_COLD;
- DECLARE_CUSTOM_INPUT_MEMBER( keypad_r );
+ ioport_value keypad_r();
DECLARE_INPUT_CHANGED_MEMBER( slider_w );
protected:
// device-level overrides
- virtual void device_start() override;
+ virtual void device_start() override ATTR_COLD;
// device_vcs_control_port_interface overrides
virtual uint8_t joy_r() override;
@@ -51,5 +51,4 @@ private:
// device type definition
DECLARE_DEVICE_TYPE(COLECO_SUPER_ACTION_CONTROLLER, coleco_super_action_controller_device)
-
-#endif // MAME_BUS_COLECO_SAC_H
+#endif // MAME_BUS_COLECO_CONTROLLER_SAC_H