summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/kaneko_hit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/kaneko_hit.h')
-rw-r--r--src/mame/machine/kaneko_hit.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mame/machine/kaneko_hit.h b/src/mame/machine/kaneko_hit.h
index c31b86ee2e4..11e50332cb9 100644
--- a/src/mame/machine/kaneko_hit.h
+++ b/src/mame/machine/kaneko_hit.h
@@ -9,10 +9,6 @@
#include "machine/watchdog.h"
-#define MCFG_KANEKO_HIT_TYPE(_type) \
- downcast<kaneko_hit_device &>(*device).set_type(_type);
-
-
class kaneko_hit_device : public device_t
{
public:
@@ -25,8 +21,6 @@ public:
void set_type(int hittype) { m_hittype = hittype; }
- int m_hittype;
-
DECLARE_READ16_MEMBER(kaneko_hit_r);
DECLARE_WRITE16_MEMBER(kaneko_hit_w);
@@ -65,7 +59,7 @@ private:
uint16_t mode;
};
-
+ int m_hittype;
required_device<watchdog_timer_device> m_watchdog;