summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vip/vp620.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vip/vp620.h')
-rw-r--r--src/devices/bus/vip/vp620.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/bus/vip/vp620.h b/src/devices/bus/vip/vp620.h
index 55bf8ab04f6..4917f5760da 100644
--- a/src/devices/bus/vip/vp620.h
+++ b/src/devices/bus/vip/vp620.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_VIP_VP620_H
+#define MAME_BUS_VIP_VP620_H
-#ifndef __VP620__
-#define __VP620__
+#pragma once
#include "byteio.h"
#include "machine/keyboard.h"
@@ -33,7 +33,7 @@ public:
virtual machine_config_constructor device_mconfig_additions() const override;
// not really public
- DECLARE_WRITE8_MEMBER( kb_w );
+ void kb_w(uint8_t data);
protected:
// device-level overrides
@@ -50,7 +50,6 @@ private:
// device type definition
-extern const device_type VP620;
-
+DECLARE_DEVICE_TYPE(VP620, vp620_device)
-#endif
+#endif // MAME_BUS_VIP_VP620_H