summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/toobin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/toobin.cpp')
-rw-r--r--src/mame/video/toobin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/toobin.cpp b/src/mame/video/toobin.cpp
index 5cb499bfc10..e895cfbb662 100644
--- a/src/mame/video/toobin.cpp
+++ b/src/mame/video/toobin.cpp
@@ -20,7 +20,7 @@
TILE_GET_INFO_MEMBER(toobin_state::get_alpha_tile_info)
{
- uint16_t data = tilemap.basemem_read(tile_index);
+ uint16_t data = m_alpha_tilemap->basemem_read(tile_index);
int code = data & 0x3ff;
int color = (data >> 12) & 0x0f;
SET_TILE_INFO_MEMBER(2, code, color, (data >> 10) & 1);
@@ -29,7 +29,7 @@ TILE_GET_INFO_MEMBER(toobin_state::get_alpha_tile_info)
TILE_GET_INFO_MEMBER(toobin_state::get_playfield_tile_info)
{
- uint32_t data = tilemap.basemem_read(tile_index);
+ uint32_t data = m_playfield_tilemap->basemem_read(tile_index);
int code = data & 0x3fff;
int color = (data >> 16) & 0x0f;
SET_TILE_INFO_MEMBER(0, code, color, TILE_FLIPYX(data >> 14));