diff options
Diffstat (limited to 'src/devices/bus/neogeo/prot_pcm2.h')
-rw-r--r-- | src/devices/bus/neogeo/prot_pcm2.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/neogeo/prot_pcm2.h b/src/devices/bus/neogeo/prot_pcm2.h index cd06a3e06d8..666b38b4bee 100644 --- a/src/devices/bus/neogeo/prot_pcm2.h +++ b/src/devices/bus/neogeo/prot_pcm2.h @@ -1,19 +1,19 @@ // license:BSD-3-Clause // copyright-holders:S. Smith,David Haywood,Fabio Priuli +#ifndef MAME_BUS_NEOGEO_PROT_PCM2_H +#define MAME_BUS_NEOGEO_PROT_PCM2_H #pragma once -#ifndef __PCM2_PROT__ -#define __PCM2_PROT__ -extern const device_type PCM2_PROT; +DECLARE_DEVICE_TYPE(NG_PCM2_PROT, pcm2_prot_device) #define MCFG_PCM2_PROT_ADD(_tag) \ - MCFG_DEVICE_ADD(_tag, PCM2_PROT, 0) + MCFG_DEVICE_ADD(_tag, NG_PCM2_PROT, 0) -class pcm2_prot_device : public device_t +class pcm2_prot_device : public device_t { public: // construction/destruction @@ -27,4 +27,4 @@ protected: virtual void device_reset() override; }; -#endif +#endif // MAME_BUS_NEOGEO_PROT_PCM2_H |