summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vtech/ioexp/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vtech/ioexp/joystick.h')
-rw-r--r--src/devices/bus/vtech/ioexp/joystick.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/vtech/ioexp/joystick.h b/src/devices/bus/vtech/ioexp/joystick.h
index 803e3bd5848..0c05403ad2b 100644
--- a/src/devices/bus/vtech/ioexp/joystick.h
+++ b/src/devices/bus/vtech/ioexp/joystick.h
@@ -9,10 +9,10 @@
***************************************************************************/
-#pragma once
+#ifndef MAME_BUS_VTECH_IOEXP_JOYSTICK_H
+#define MAME_BUS_VTECH_IOEXP_JOYSTICK_H
-#ifndef __VTECH_IOEXP_JOYSTICK_H__
-#define __VTECH_IOEXP_JOYSTICK_H__
+#pragma once
#include "ioexp.h"
@@ -23,11 +23,11 @@
// ======================> joystick_interface_device
-class joystick_interface_device : public device_t, public device_ioexp_interface
+class vtech_joystick_interface_device : public device_t, public device_vtech_ioexp_interface
{
public:
// construction/destruction
- joystick_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ vtech_joystick_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
DECLARE_READ8_MEMBER( joystick_r );
@@ -44,6 +44,6 @@ private:
};
// device type definition
-extern const device_type JOYSTICK_INTERFACE;
+DECLARE_DEVICE_TYPE(VTECH_JOYSTICK_INTERFACE, vtech_joystick_interface_device)
-#endif // __VTECH_IOEXP_JOYSTICK_H__
+#endif // MAME_BUS_VTECH_IOEXP_JOYSTICK_H