summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/prot_pvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/prot_pvc.h')
-rw-r--r--src/devices/bus/neogeo/prot_pvc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/neogeo/prot_pvc.h b/src/devices/bus/neogeo/prot_pvc.h
index d5bfee9bf2f..4f7d73f4020 100644
--- a/src/devices/bus/neogeo/prot_pvc.h
+++ b/src/devices/bus/neogeo/prot_pvc.h
@@ -1,15 +1,15 @@
// license:BSD-3-Clause
// copyright-holders:S. Smith,David Haywood,Fabio Priuli
-#pragma once
+#ifndef MAME_BUS_NEOGEO_PROT_PVC_H
+#define MAME_BUS_NEOGEO_PROT_PVC_H
-#ifndef __PVC_PROT__
-#define __PVC_PROT__
+#pragma once
-extern const device_type PVC_PROT;
+DECLARE_DEVICE_TYPE(NG_PVC_PROT, pvc_prot_device)
#define MCFG_PVC_PROT_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, PVC_PROT, 0)
+ MCFG_DEVICE_ADD(_tag, NG_PVC_PROT, 0)
class pvc_prot_device : public device_t
@@ -38,4 +38,4 @@ protected:
virtual void device_reset() override;
};
-#endif
+#endif // MAME_BUS_NEOGEO_PROT_PVC_H