diff options
author | 2020-03-11 15:47:30 +1100 | |
---|---|---|
committer | 2020-03-11 15:47:30 +1100 | |
commit | 9733f5cf3df1255566dc147540a8d6ceab4adb6d (patch) | |
tree | 637f1e69a2b520771888635337ea4e051d7fa797 /src/mame/drivers/calorie.cpp | |
parent | e7b33bd5e22adfc7422c969a0a2b6400c6563394 (diff) |
tilemap: that macro has contributed nothing but obfuscation since we moved to C++
Diffstat (limited to 'src/mame/drivers/calorie.cpp')
-rw-r--r-- | src/mame/drivers/calorie.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/calorie.cpp b/src/mame/drivers/calorie.cpp index 1f6e0346514..ece27322a36 100644 --- a/src/mame/drivers/calorie.cpp +++ b/src/mame/drivers/calorie.cpp @@ -152,7 +152,7 @@ TILE_GET_INFO_MEMBER(calorie_state::get_bg_tile_info) int color = src[bg_base + tile_index + 0x100] & 0x0f; int flag = src[bg_base + tile_index + 0x100] & 0x40 ? TILE_FLIPX : 0; - SET_TILE_INFO_MEMBER(1, code, color, flag); + tileinfo.set(1, code, color, flag); } TILE_GET_INFO_MEMBER(calorie_state::get_fg_tile_info) @@ -160,7 +160,7 @@ TILE_GET_INFO_MEMBER(calorie_state::get_fg_tile_info) int code = ((m_fg_ram[tile_index + 0x400] & 0x30) << 4) | m_fg_ram[tile_index]; int color = m_fg_ram[tile_index + 0x400] & 0x0f; - SET_TILE_INFO_MEMBER(0, code, color, TILE_FLIPYX((m_fg_ram[tile_index + 0x400] & 0xc0) >> 6)); + tileinfo.set(0, code, color, TILE_FLIPYX((m_fg_ram[tile_index + 0x400] & 0xc0) >> 6)); } |