diff options
Diffstat (limited to 'src/mame/video/centiped.cpp')
-rw-r--r-- | src/mame/video/centiped.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/centiped.cpp b/src/mame/video/centiped.cpp index c7d1991ea76..afd67bf8fcd 100644 --- a/src/mame/video/centiped.cpp +++ b/src/mame/video/centiped.cpp @@ -21,7 +21,7 @@ TILE_GET_INFO_MEMBER(centiped_state::centiped_get_tile_info) uint8_t *videoram = m_videoram; int data = videoram[tile_index]; - SET_TILE_INFO_MEMBER(0, (data & 0x3f) + 0x40, 0, TILE_FLIPYX(data >> 6)); + tileinfo.set(0, (data & 0x3f) + 0x40, 0, TILE_FLIPYX(data >> 6)); } @@ -31,7 +31,7 @@ TILE_GET_INFO_MEMBER(centiped_state::warlords_get_tile_info) int data = videoram[tile_index]; int color = ((tile_index & 0x10) >> 4) | ((tile_index & 0x200) >> 8) | (m_flipscreen >> 5); - SET_TILE_INFO_MEMBER(0, data & 0x3f, color, TILE_FLIPYX(data >> 6)); + tileinfo.set(0, data & 0x3f, color, TILE_FLIPYX(data >> 6)); } @@ -44,7 +44,7 @@ TILE_GET_INFO_MEMBER(centiped_state::milliped_get_tile_info) /* Flip both x and y if flipscreen is non-zero */ int flip_tiles = (m_flipscreen) ? 0x03 : 0; - SET_TILE_INFO_MEMBER(0, (data & 0x3f) + 0x40 + (bank * 0x80), color, TILE_FLIPYX(flip_tiles)); + tileinfo.set(0, (data & 0x3f) + 0x40 + (bank * 0x80), color, TILE_FLIPYX(flip_tiles)); } @@ -54,7 +54,7 @@ TILE_GET_INFO_MEMBER(centiped_state::bullsdrt_get_tile_info) int data = videoram[tile_index]; int bank = m_bullsdrt_tiles_bankram[tile_index & 0x1f] & 0x0f; - SET_TILE_INFO_MEMBER(0, (data & 0x3f) + 0x40 * bank, 0, TILE_FLIPYX(data >> 6)); + tileinfo.set(0, (data & 0x3f) + 0x40 * bank, 0, TILE_FLIPYX(data >> 6)); } |