diff options
Diffstat (limited to 'src/mess/includes/apollo.h')
-rw-r--r-- | src/mess/includes/apollo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/includes/apollo.h b/src/mess/includes/apollo.h index 471364f8c86..810026bb65b 100644 --- a/src/mess/includes/apollo.h +++ b/src/mess/includes/apollo.h @@ -299,10 +299,10 @@ class apollo_graphics_15i : public device_t public: apollo_graphics_15i(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); apollo_graphics_15i(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type, const char *name, const char *shortname, const char *source); - ~apollo_graphics_15i() { global_free(m_token); } + ~apollo_graphics_15i(); // access to legacy token - void *token() const { assert(m_token != NULL); return m_token; } + class apollo_graphics *token() const { assert(m_token != NULL); return m_token; } protected: // device-level overrides virtual void device_config_complete(); @@ -310,7 +310,7 @@ protected: virtual void device_reset(); private: // internal state - void *m_token; + class apollo_graphics *m_token; }; extern const device_type APOLLO_GRAPHICS; |