summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes_ctrl/ftrainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes_ctrl/ftrainer.h')
-rw-r--r--src/devices/bus/nes_ctrl/ftrainer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/nes_ctrl/ftrainer.h b/src/devices/bus/nes_ctrl/ftrainer.h
index 76999eea959..d72077c93a2 100644
--- a/src/devices/bus/nes_ctrl/ftrainer.h
+++ b/src/devices/bus/nes_ctrl/ftrainer.h
@@ -6,14 +6,14 @@
**********************************************************************/
-#pragma once
-
-#ifndef __NES_FTRAINER__
-#define __NES_FTRAINER__
+#ifndef MAME_BUS_NES_CTRL_FTRAINER_H
+#define MAME_BUS_NES_CTRL_FTRAINER_H
+#pragma once
#include "ctrl.h"
+
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
@@ -44,7 +44,7 @@ private:
// device type definition
-extern const device_type NES_FTRAINER;
+DECLARE_DEVICE_TYPE(NES_FTRAINER, nes_ftrainer_device)
-#endif
+#endif // MAME_BUS_NES_CTRL_FTRAINER_H