summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/model3.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/video/model3.cpp
parente7b33bd5e22adfc7422c969a0a2b6400c6563394 (diff)
tilemap: that macro has contributed nothing but obfuscation since we moved to C++
Diffstat (limited to 'src/mame/video/model3.cpp')
-rw-r--r--src/mame/video/model3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/model3.cpp b/src/mame/video/model3.cpp
index 77012df954a..6e62815f19a 100644
--- a/src/mame/video/model3.cpp
+++ b/src/mame/video/model3.cpp
@@ -221,7 +221,7 @@ do { \
uint16_t t = BYTE_REVERSE16(tiles[(tile_index & 3) ^ NATIVE_ENDIAN_VALUE_LE_BE(2,0)]); \
int tile = ((t << 1) & 0x7ffe) | ((t >> 15) & 0x1); \
int color = (t & 0x7ff0) >> 4; \
- SET_TILE_INFO_MEMBER(0, tile, color, 0); \
+ tileinfo.set(0, tile, color, 0); \
} while (0)
#define MODEL3_TILE_INFO8(address) \
@@ -230,7 +230,7 @@ do { \
uint16_t t = BYTE_REVERSE16(tiles[(tile_index & 3) ^ NATIVE_ENDIAN_VALUE_LE_BE(2,0)]); \
int tile = ((t << 1) & 0x7ffe) | ((t >> 15) & 0x1); \
int color = (t & 0x7f00) >> 8; \
- SET_TILE_INFO_MEMBER(1, tile >> 1, color, 0); \
+ tileinfo.set(1, tile >> 1, color, 0); \
} while (0)
TILE_GET_INFO_MEMBER(model3_state::tile_info_layer0_4bit) { MODEL3_TILE_INFO4(0x000); }