summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/mb14241.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/mb14241.h')
-rw-r--r--src/emu/machine/mb14241.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/emu/machine/mb14241.h b/src/emu/machine/mb14241.h
index 120054591a8..bd39245a5c1 100644
--- a/src/emu/machine/mb14241.h
+++ b/src/emu/machine/mb14241.h
@@ -10,7 +10,26 @@
#include "devlegcy.h"
-DECLARE_LEGACY_DEVICE(MB14241, mb14241);
+class mb14241_device : public device_t
+{
+public:
+ mb14241_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ~mb14241_device() { global_free(m_token); }
+
+ // access to legacy token
+ void *token() const { assert(m_token != NULL); return m_token; }
+protected:
+ // device-level overrides
+ virtual void device_config_complete();
+ virtual void device_start();
+ virtual void device_reset();
+private:
+ // internal state
+ void *m_token;
+};
+
+extern const device_type MB14241;
+
/***************************************************************************
DEVICE CONFIGURATION MACROS