summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/tecmo16.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/tecmo16.h')
-rw-r--r--src/mame/includes/tecmo16.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/includes/tecmo16.h b/src/mame/includes/tecmo16.h
index 90421fb19f5..aad2da80a91 100644
--- a/src/mame/includes/tecmo16.h
+++ b/src/mame/includes/tecmo16.h
@@ -1,6 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Hau, Nicola Salmoria
+#include "video/bufsprite.h"
#include "video/tecmo_spr.h"
#include "video/tecmo_mix.h"
#include "emupal.h"
@@ -9,8 +10,8 @@
class tecmo16_state : public driver_device
{
public:
- tecmo16_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ tecmo16_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"),
@@ -44,7 +45,7 @@ private:
required_shared_ptr<uint16_t> m_videoram2;
required_shared_ptr<uint16_t> m_colorram2;
required_shared_ptr<uint16_t> m_charram;
- required_shared_ptr<uint16_t> m_spriteram;
+ required_device<buffered_spriteram16_device> m_spriteram;
tilemap_t *m_fg_tilemap;
tilemap_t *m_bg_tilemap;
@@ -52,6 +53,7 @@ private:
bitmap_ind16 m_sprite_bitmap;
bitmap_ind16 m_tile_bitmap_bg;
bitmap_ind16 m_tile_bitmap_fg;
+ bitmap_ind16 m_tile_bitmap_tx;
int m_flipscreen;
int m_game_is_riot;
uint16_t m_scroll_x_w;