diff options
Diffstat (limited to 'src/mame/includes/subs.h')
-rw-r--r-- | src/mame/includes/subs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/includes/subs.h b/src/mame/includes/subs.h index d77ffc4b547..b8d104fc9b6 100644 --- a/src/mame/includes/subs.h +++ b/src/mame/includes/subs.h @@ -20,10 +20,12 @@ class subs_state : public driver_device { public: subs_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag) { } + : driver_device(mconfig, type, tag) , + m_spriteram(*this, "spriteram"), + m_videoram(*this, "videoram"){ } - UINT8 *m_videoram; - UINT8 *m_spriteram; + required_shared_ptr<UINT8> m_spriteram; + required_shared_ptr<UINT8> m_videoram; int m_steering_buf1; int m_steering_buf2; int m_steering_val1; |