diff options
Diffstat (limited to 'src/devices/bus/a2bus/a2softcard.h')
-rw-r--r-- | src/devices/bus/a2bus/a2softcard.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/a2bus/a2softcard.h b/src/devices/bus/a2bus/a2softcard.h index f8545e1ae6a..025686a6645 100644 --- a/src/devices/bus/a2bus/a2softcard.h +++ b/src/devices/bus/a2bus/a2softcard.h @@ -8,8 +8,8 @@ *********************************************************************/ -#ifndef __A2BUS_SOFTCARD__ -#define __A2BUS_SOFTCARD__ +#ifndef MAME_BUS_A2BUS_A2SOFTCARD_H +#define MAME_BUS_A2BUS_A2SOFTCARD_H #include "a2bus.h" @@ -23,7 +23,6 @@ class a2bus_softcard_device: { public: // construction/destruction - a2bus_softcard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); a2bus_softcard_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // optional information overrides @@ -33,6 +32,8 @@ public: DECLARE_WRITE8_MEMBER( dma_w ); protected: + a2bus_softcard_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + virtual void device_start() override; virtual void device_reset() override; @@ -48,6 +49,6 @@ private: }; // device type definition -extern const device_type A2BUS_SOFTCARD; +DECLARE_DEVICE_TYPE(A2BUS_SOFTCARD, a2bus_softcard_device) -#endif /* __A2BUS_SOFTCARD__ */ +#endif // MAME_BUS_A2BUS_A2SOFTCARD_H |