summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/spc1000/vdp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/spc1000/vdp.h')
-rw-r--r--src/devices/bus/spc1000/vdp.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/devices/bus/spc1000/vdp.h b/src/devices/bus/spc1000/vdp.h
index 0c22dcbcfc0..4619f719ece 100644
--- a/src/devices/bus/spc1000/vdp.h
+++ b/src/devices/bus/spc1000/vdp.h
@@ -1,7 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Fabio Priuli
-#ifndef __SPC1000_VDP_H__
-#define __SPC1000_VDP_H__
+#ifndef MAME_BUS_SPC1000_VDP_H
+#define MAME_BUS_SPC1000_VDP_H
+
+#pragma once
#include "exp.h"
#include "video/tms9928a.h"
@@ -13,8 +15,7 @@
// ======================> spc1000_vdp_exp_device
-class spc1000_vdp_exp_device : public device_t,
- public device_spc1000_card_interface
+class spc1000_vdp_exp_device : public device_t, public device_spc1000_card_interface
{
public:
// construction/destruction
@@ -40,6 +41,6 @@ private:
// device type definition
-extern const device_type SPC1000_VDP_EXP;
+DECLARE_DEVICE_TYPE(SPC1000_VDP_EXP, spc1000_vdp_exp_device)
-#endif /* __SPC1000_VDP_H__ */
+#endif // MAME_BUS_SPC1000_VDP_H