summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vcs_ctrl/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vcs_ctrl/joystick.h')
-rw-r--r--src/devices/bus/vcs_ctrl/joystick.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/vcs_ctrl/joystick.h b/src/devices/bus/vcs_ctrl/joystick.h
index 1f7663cd3b5..dcae27d2965 100644
--- a/src/devices/bus/vcs_ctrl/joystick.h
+++ b/src/devices/bus/vcs_ctrl/joystick.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_VCS_CTRL_JOYSTICK_H
+#define MAME_BUS_VCS_CTRL_JOYSTICK_H
-#ifndef __VCS_JOYSTICK__
-#define __VCS_JOYSTICK__
+#pragma once
#include "ctrl.h"
@@ -44,7 +44,7 @@ private:
// device type definition
-extern const device_type VCS_JOYSTICK;
+DECLARE_DEVICE_TYPE(VCS_JOYSTICK, vcs_joystick_device)
-#endif
+#endif // MAME_BUS_VCS_CTRL_JOYSTICK_H