summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/wrally.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/wrally.h')
-rw-r--r--src/mame/includes/wrally.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/includes/wrally.h b/src/mame/includes/wrally.h
index 4e7dfee74fb..86f49940d3b 100644
--- a/src/mame/includes/wrally.h
+++ b/src/mame/includes/wrally.h
@@ -17,6 +17,7 @@ public:
m_outlatch(*this, "outlatch"),
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
+ m_okibank(*this, "okibank"),
m_videoram(*this, "videoram"),
m_vregs(*this, "vregs"),
m_spriteram(*this, "spriteram"),
@@ -32,14 +33,13 @@ private:
DECLARE_WRITE8_MEMBER(shareram_w);
DECLARE_WRITE16_MEMBER(vram_w);
DECLARE_WRITE_LINE_MEMBER(flipscreen_w);
- DECLARE_WRITE16_MEMBER(okim6295_bankswitch_w);
+ DECLARE_WRITE8_MEMBER(okim6295_bankswitch_w);
DECLARE_WRITE_LINE_MEMBER(coin1_counter_w);
DECLARE_WRITE_LINE_MEMBER(coin2_counter_w);
DECLARE_WRITE_LINE_MEMBER(coin1_lockout_w);
DECLARE_WRITE_LINE_MEMBER(coin2_lockout_w);
- TILE_GET_INFO_MEMBER(get_tile_info_screen0);
- TILE_GET_INFO_MEMBER(get_tile_info_screen1);
+ template<int Layer> TILE_GET_INFO_MEMBER(get_tile_info);
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -55,6 +55,7 @@ private:
required_device<ls259_device> m_outlatch;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
+ required_memory_bank m_okibank;
required_shared_ptr<uint16_t> m_videoram;
required_shared_ptr<uint16_t> m_vregs;