summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/bionicc.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-03-11 15:47:30 +1100
committer Vas Crabb <vas@vastheman.com>2020-03-11 15:47:30 +1100
commit9733f5cf3df1255566dc147540a8d6ceab4adb6d (patch)
tree637f1e69a2b520771888635337ea4e051d7fa797 /src/mame/drivers/bionicc.cpp
parente7b33bd5e22adfc7422c969a0a2b6400c6563394 (diff)
tilemap: that macro has contributed nothing but obfuscation since we moved to C++
Diffstat (limited to 'src/mame/drivers/bionicc.cpp')
-rw-r--r--src/mame/drivers/bionicc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/bionicc.cpp b/src/mame/drivers/bionicc.cpp
index aad9eb30303..ee5eda3e0c4 100644
--- a/src/mame/drivers/bionicc.cpp
+++ b/src/mame/drivers/bionicc.cpp
@@ -455,7 +455,7 @@ TILE_GET_INFO_MEMBER(bionicc_state::get_tx_tile_info)
int attr = m_txvideoram[tile_index + 0x400];
int code = m_txvideoram[tile_index] & 0xff;
- SET_TILE_INFO_MEMBER(0, ((attr & 0xc0) << 2) | code, attr & 0x3f, 0);
+ tileinfo.set(0, ((attr & 0xc0) << 2) | code, attr & 0x3f, 0);
}
TILE_GET_INFO_MEMBER(bionicc_state::get_fg_tile_info)
@@ -483,7 +483,7 @@ TILE_GET_INFO_MEMBER(bionicc_state::get_fg_tile_info)
flag = TILE_FLIPXY((attr & 0xc0) >> 6);
}
- SET_TILE_INFO_MEMBER(2, ((attr & 0x07) << 8) | code, (attr & 0x18) >> 3, flag);
+ tileinfo.set(2, ((attr & 0x07) << 8) | code, (attr & 0x18) >> 3, flag);
}
TILE_GET_INFO_MEMBER(bionicc_state::get_bg_tile_info)
@@ -497,7 +497,7 @@ TILE_GET_INFO_MEMBER(bionicc_state::get_bg_tile_info)
int code = m_bgvideoram[2 * tile_index] & 0xff;
int flag = TILE_FLIPXY((attr & 0xc0) >> 6);
- SET_TILE_INFO_MEMBER(1, ((attr & 0x07) << 8) | code, (attr & 0x38) >> 3, flag);
+ tileinfo.set(1, ((attr & 0x07) << 8) | code, (attr & 0x38) >> 3, flag);
}