diff options
author | Aaron Giles <aaron@aarongiles.com> | 2012-03-08 07:39:27 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2012-03-08 07:39:27 +0000 |
commit | 388d53737ed1067046fc8e8616a35227c86a7917 (patch) | |
tree | 4e321692abbe0c837a33002c254368d81b2f522f /src/mame/includes/boogwing.h | |
parent | 8d0ec85106846df798d664daf2936ca8fb1bf4ca (diff) |
Create new devices buffered_spriteram<n>_device, which manage buffered
spriteram. Removed core support for legacy buffered spriteram, and
updated all drivers to use the new devices instead. [Aaron Giles]
Removed required/optional_shared_size helpers. Instead the existing
required/optional_shared_ptr helpers now have a bytes() method that
can be used to query the size of the shared region. [Aaron Giles]
Diffstat (limited to 'src/mame/includes/boogwing.h')
-rw-r--r-- | src/mame/includes/boogwing.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mame/includes/boogwing.h b/src/mame/includes/boogwing.h index fb6c4d0f180..9ad6b305eb2 100644 --- a/src/mame/includes/boogwing.h +++ b/src/mame/includes/boogwing.h @@ -7,6 +7,7 @@ #include "sound/okim6295.h" #include "video/deco16ic.h" #include "video/decocomn.h" +#include "video/bufsprite.h" class boogwing_state : public driver_device { @@ -19,7 +20,9 @@ public: m_deco_tilegen1(*this, "tilegen1"), m_deco_tilegen2(*this, "tilegen2"), m_oki1(*this, "oki1"), - m_oki2(*this, "oki2") { } + m_oki2(*this, "oki2"), + m_spriteram(*this, "spriteram"), + m_spriteram2(*this, "spriteram2") { } /* memory pointers */ UINT16 * m_pf1_rowscroll; @@ -35,6 +38,8 @@ public: required_device<deco16ic_device> m_deco_tilegen2; required_device<okim6295_device> m_oki1; required_device<okim6295_device> m_oki2; + required_device<buffered_spriteram16_device> m_spriteram; + required_device<buffered_spriteram16_device> m_spriteram2; }; |