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/supduck.cpp | |
parent | e7b33bd5e22adfc7422c969a0a2b6400c6563394 (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.cpp | 6 |
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); } |