summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/supduck.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/supduck.cpp
parente7b33bd5e22adfc7422c969a0a2b6400c6563394 (diff)
tilemap: that macro has contributed nothing but obfuscation since we moved to C++
Diffstat (limited to 'src/mame/drivers/supduck.cpp')
-rw-r--r--src/mame/drivers/supduck.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/supduck.cpp b/src/mame/drivers/supduck.cpp
index 0c7a5416c83..b8498633555 100644
--- a/src/mame/drivers/supduck.cpp
+++ b/src/mame/drivers/supduck.cpp
@@ -175,7 +175,7 @@ TILE_GET_INFO_MEMBER(supduck_state::get_text_tile_info) // same as tigeroad.c
int color = attr & 0x0f;
int flags = (attr & 0x10) ? TILE_FLIPY : 0;
- SET_TILE_INFO_MEMBER(0, code, color, flags);
+ tileinfo.set(0, code, color, flags);
}
TILE_GET_INFO_MEMBER(supduck_state::get_fore_tile_info)
@@ -191,7 +191,7 @@ TILE_GET_INFO_MEMBER(supduck_state::get_fore_tile_info)
flags |=(data & 0x1000) ? TILE_FLIPY : 0;
- SET_TILE_INFO_MEMBER(1, code, color, flags);
+ tileinfo.set(1, code, color, flags);
}
TILE_GET_INFO_MEMBER(supduck_state::get_back_tile_info)
@@ -207,7 +207,7 @@ TILE_GET_INFO_MEMBER(supduck_state::get_back_tile_info)
int flags = (data & 0x2000) ? TILE_FLIPX : 0;
flags |=(data & 0x1000) ? TILE_FLIPY : 0;
- SET_TILE_INFO_MEMBER(2, code, color, flags);
+ tileinfo.set(2, code, color, flags);
}