summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo_ctrl/irrmaze.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo_ctrl/irrmaze.h')
-rw-r--r--src/devices/bus/neogeo_ctrl/irrmaze.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/devices/bus/neogeo_ctrl/irrmaze.h b/src/devices/bus/neogeo_ctrl/irrmaze.h
index 33beb1fe10d..855c936ff5c 100644
--- a/src/devices/bus/neogeo_ctrl/irrmaze.h
+++ b/src/devices/bus/neogeo_ctrl/irrmaze.h
@@ -2,14 +2,14 @@
// copyright-holders:Fabio Priuli
/**********************************************************************
- SNK Neo Geo Dial controller emulation
+ SNK Neo Geo Irritating Maze Trackball Controller emulation
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_NEOGEO_CTRL_IRRMAZE_H
+#define MAME_BUS_NEOGEO_CTRL_IRRMAZE_H
-#ifndef __NEOGEO_IRRMAZE__
-#define __NEOGEO_IRRMAZE__
+#pragma once
#include "ctrl.h"
@@ -18,10 +18,9 @@
// TYPE DEFINITIONS
//**************************************************************************
-// ======================> neogeo_dial_device
+// ======================> neogeo_irrmaze_device
-class neogeo_irrmaze_device : public device_t,
- public device_neogeo_ctrl_edge_interface
+class neogeo_irrmaze_device : public device_t, public device_neogeo_ctrl_edge_interface
{
public:
// construction/destruction
@@ -48,9 +47,8 @@ private:
};
-
// device type definition
-extern const device_type NEOGEO_IRRMAZE;
+DECLARE_DEVICE_TYPE(NEOGEO_IRRMAZE, neogeo_irrmaze_device)
-#endif
+#endif // MAME_BUS_NEOGEO_CTRL_IRRMAZE_H