diff options
Diffstat (limited to 'src/mame/video/4enraya.c')
-rw-r--r-- | src/mame/video/4enraya.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mame/video/4enraya.c b/src/mame/video/4enraya.c index 48b4afac0f5..94229378a04 100644 --- a/src/mame/video/4enraya.c +++ b/src/mame/video/4enraya.c @@ -11,7 +11,6 @@ WRITE8_MEMBER(_4enraya_state::fenraya_videoram_w) { - m_videoram[(offset & 0x3ff) * 2] = data; m_videoram[(offset & 0x3ff) * 2 + 1] = (offset & 0xc00) >> 10; m_bg_tilemap->mark_tile_dirty(offset & 0x3ff); @@ -19,7 +18,6 @@ WRITE8_MEMBER(_4enraya_state::fenraya_videoram_w) TILE_GET_INFO_MEMBER(_4enraya_state::get_tile_info) { - int code = m_videoram[tile_index * 2] + (m_videoram[tile_index * 2 + 1] << 8); SET_TILE_INFO_MEMBER( 0, @@ -30,13 +28,11 @@ TILE_GET_INFO_MEMBER(_4enraya_state::get_tile_info) void _4enraya_state::video_start() { - m_bg_tilemap = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(_4enraya_state::get_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); } UINT32 _4enraya_state::screen_update_4enraya(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - m_bg_tilemap->draw(bitmap, cliprect, 0, 0); return 0; } |