summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/xyonix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/xyonix.c')
-rw-r--r--src/mame/video/xyonix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/xyonix.c b/src/mame/video/xyonix.c
index 6a656f9eee6..b83abc325f0 100644
--- a/src/mame/video/xyonix.c
+++ b/src/mame/video/xyonix.c
@@ -31,7 +31,7 @@ PALETTE_INIT_MEMBER(xyonix_state, xyonix)
}
-TILE_GET_INFO_MEMBER(xyonix_state::get_xyonix_tile_info)
+TILE_GET_INFO_MEMBER(xyonix_state::get_tile_info)
{
int tileno;
int attr = m_vidram[tile_index+0x1000+1];
@@ -41,7 +41,7 @@ TILE_GET_INFO_MEMBER(xyonix_state::get_xyonix_tile_info)
SET_TILE_INFO_MEMBER(0,tileno,attr >> 4,0);
}
-WRITE8_MEMBER(xyonix_state::xyonix_vidram_w)
+WRITE8_MEMBER(xyonix_state::vidram_w)
{
m_vidram[offset] = data;
m_tilemap->mark_tile_dirty((offset-1)&0x0fff);
@@ -49,10 +49,10 @@ WRITE8_MEMBER(xyonix_state::xyonix_vidram_w)
void xyonix_state::video_start()
{
- m_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(xyonix_state::get_xyonix_tile_info),this), TILEMAP_SCAN_ROWS, 4, 8, 80, 32);
+ m_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(xyonix_state::get_tile_info),this), TILEMAP_SCAN_ROWS, 4, 8, 80, 32);
}
-UINT32 xyonix_state::screen_update_xyonix(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+UINT32 xyonix_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
m_tilemap->draw(screen, bitmap, cliprect, 0, 0);
return 0;