summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cgenie/parallel/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cgenie/parallel/joystick.h')
-rw-r--r--src/devices/bus/cgenie/parallel/joystick.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/cgenie/parallel/joystick.h b/src/devices/bus/cgenie/parallel/joystick.h
index 6625af5bdff..6a4025ada9f 100644
--- a/src/devices/bus/cgenie/parallel/joystick.h
+++ b/src/devices/bus/cgenie/parallel/joystick.h
@@ -6,10 +6,10 @@
***************************************************************************/
-#pragma once
+#ifndef MAME_BUS_CGENIE_PARALLEL_JOYSTICK_H
+#define MAME_BUS_CGENIE_PARALLEL_JOYSTICK_H
-#ifndef __CGENIE_PARALLEL_JOYSTICK_H__
-#define __CGENIE_PARALLEL_JOYSTICK_H__
+#pragma once
#include "parallel.h"
@@ -20,7 +20,7 @@
// ======================> cgenie_joystick_device
-class cgenie_joystick_device : public device_t, public device_parallel_interface
+class cgenie_joystick_device : public device_t, public device_cg_parallel_interface
{
public:
// construction/destruction
@@ -42,6 +42,6 @@ private:
};
// device type definition
-extern const device_type CGENIE_JOYSTICK;
+DECLARE_DEVICE_TYPE(CGENIE_JOYSTICK, cgenie_joystick_device)
-#endif // __CGENIE_PARALLEL_JOYSTICK_H__
+#endif // MAME_BUS_CGENIE_PARALLEL_JOYSTICK_H