diff options
Diffstat (limited to 'src/mame/video/shadfrce.cpp')
-rw-r--r-- | src/mame/video/shadfrce.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/video/shadfrce.cpp b/src/mame/video/shadfrce.cpp index a5023eaadbc..d8973a8b78f 100644 --- a/src/mame/video/shadfrce.cpp +++ b/src/mame/video/shadfrce.cpp @@ -14,7 +14,7 @@ TILE_GET_INFO_MEMBER(shadfrce_state::get_fgtile_info) tileinfo.set(0,tileno,colour*4,0); } -WRITE16_MEMBER(shadfrce_state::fgvideoram_w) +void shadfrce_state::fgvideoram_w(offs_t offset, uint16_t data) { m_fgvideoram[offset] = data; m_fgtilemap->mark_tile_dirty(offset/2); @@ -33,7 +33,7 @@ TILE_GET_INFO_MEMBER(shadfrce_state::get_bg0tile_info) tileinfo.set(2,tileno,colour,TILE_FLIPYX(fyx)); } -WRITE16_MEMBER(shadfrce_state::bg0videoram_w) +void shadfrce_state::bg0videoram_w(offs_t offset, uint16_t data) { m_bg0videoram[offset] = data; m_bg0tilemap->mark_tile_dirty(offset/2); @@ -49,7 +49,7 @@ TILE_GET_INFO_MEMBER(shadfrce_state::get_bg1tile_info) tileinfo.set(2,tileno,colour+64,0); } -WRITE16_MEMBER(shadfrce_state::bg1videoram_w) +void shadfrce_state::bg1videoram_w(offs_t offset, uint16_t data) { m_bg1videoram[offset] = data; m_bg1tilemap->mark_tile_dirty(offset); @@ -78,22 +78,22 @@ void shadfrce_state::video_start() save_item(NAME(m_prev_value)); } -WRITE16_MEMBER(shadfrce_state::bg0scrollx_w) +void shadfrce_state::bg0scrollx_w(uint16_t data) { m_bg0tilemap->set_scrollx(0, data & 0x1ff ); } -WRITE16_MEMBER(shadfrce_state::bg0scrolly_w) +void shadfrce_state::bg0scrolly_w(uint16_t data) { m_bg0tilemap->set_scrolly(0, data & 0x1ff ); } -WRITE16_MEMBER(shadfrce_state::bg1scrollx_w) +void shadfrce_state::bg1scrollx_w(uint16_t data) { m_bg1tilemap->set_scrollx(0, data & 0x1ff ); } -WRITE16_MEMBER(shadfrce_state::bg1scrolly_w) +void shadfrce_state::bg1scrolly_w(uint16_t data) { m_bg1tilemap->set_scrolly(0, data & 0x1ff ); } |