diff options
Diffstat (limited to 'src/mame/includes/blueprnt.h')
-rw-r--r-- | src/mame/includes/blueprnt.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/mame/includes/blueprnt.h b/src/mame/includes/blueprnt.h index f515e0c6ed1..656e0ee6b08 100644 --- a/src/mame/includes/blueprnt.h +++ b/src/mame/includes/blueprnt.h @@ -6,22 +6,29 @@ ***************************************************************************/ +#include "machine/gen_latch.h" + class blueprnt_state : public driver_device { public: blueprnt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), + m_gfxdecode(*this, "gfxdecode"), + m_palette(*this, "palette"), + m_soundlatch(*this, "soundlatch"), m_videoram(*this, "videoram"), m_scrollram(*this, "scrollram"), m_spriteram(*this, "spriteram"), - m_colorram(*this, "colorram"), - m_maincpu(*this, "maincpu"), - m_gfxdecode(*this, "gfxdecode"), - m_palette(*this, "palette") { } + m_colorram(*this, "colorram") { } /* device/memory pointers */ + required_device<cpu_device> m_maincpu; required_device<cpu_device> m_audiocpu; + required_device<gfxdecode_device> m_gfxdecode; + required_device<palette_device> m_palette; + required_device<generic_latch_8_device> m_soundlatch; required_shared_ptr<UINT8> m_videoram; required_shared_ptr<UINT8> m_scrollram; required_shared_ptr<UINT8> m_spriteram; @@ -49,7 +56,4 @@ public: DECLARE_PALETTE_INIT(blueprnt); UINT32 screen_update_blueprnt(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ); - required_device<cpu_device> m_maincpu; - required_device<gfxdecode_device> m_gfxdecode; - required_device<palette_device> m_palette; }; |