diff options
Diffstat (limited to 'src/devices/bus/amiga/zorro/action_replay.h')
-rw-r--r-- | src/devices/bus/amiga/zorro/action_replay.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/devices/bus/amiga/zorro/action_replay.h b/src/devices/bus/amiga/zorro/action_replay.h index 9931cdadaad..5dd1e347049 100644 --- a/src/devices/bus/amiga/zorro/action_replay.h +++ b/src/devices/bus/amiga/zorro/action_replay.h @@ -8,10 +8,10 @@ ***************************************************************************/ -#pragma once +#ifndef MAME_BUS_AMIGA_ZORRO_ACTION_REPLAY_H +#define MAME_BUS_AMIGA_ZORRO_ACTION_REPLAY_H -#ifndef __ACTION_REPLAY_H__ -#define __ACTION_REPLAY_H__ +#pragma once #include "zorro.h" @@ -25,16 +25,15 @@ class action_replay_device : public device_t, public device_exp_card_interface { public: - // construction/destruction - action_replay_device(const machine_config &mconfig, device_type type, const char *tag, - device_t *owner, uint32_t clock, const char *name, const char *shortname); - // optional information overrides virtual ioport_constructor device_input_ports() const override; DECLARE_INPUT_CHANGED_MEMBER( freeze ); protected: + // construction/destruction + action_replay_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + // device-level overrides virtual void device_start() override; virtual void device_reset() override; @@ -74,8 +73,8 @@ public: }; // device type definition -extern const device_type ACTION_REPLAY_MK1; -extern const device_type ACTION_REPLAY_MK2; -extern const device_type ACTION_REPLAY_MK3; +DECLARE_DEVICE_TYPE(ACTION_REPLAY_MK1, action_replay_mk1_device) +DECLARE_DEVICE_TYPE(ACTION_REPLAY_MK2, action_replay_mk2_device) +DECLARE_DEVICE_TYPE(ACTION_REPLAY_MK3, action_replay_mk3_device) -#endif +#endif // MAME_BUS_AMIGA_ZORRO_ACTION_REPLAY_H |