summaryrefslogtreecommitdiffstats
path: root/src/emu/tilemap.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-27 05:47:36 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-27 05:47:36 +1000
commitea3ff966732b30c0350022e64005a4c3cfa232ed (patch)
treef7dcccdcf089555caa4f38d5ac174a075bc95d5d /src/emu/tilemap.cpp
parentdb48502ecbf882a0d4558d440a16803b1365f17d (diff)
More prep for removing pointer/reference duality (nw)
Diffstat (limited to 'src/emu/tilemap.cpp')
-rw-r--r--src/emu/tilemap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/tilemap.cpp b/src/emu/tilemap.cpp
index bc193b9d8e0..54dc5cc9d8e 100644
--- a/src/emu/tilemap.cpp
+++ b/src/emu/tilemap.cpp
@@ -1584,7 +1584,7 @@ const device_type TILEMAP = &device_creator<tilemap_device>;
tilemap_device::tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TILEMAP, "Tilemap", tag, owner, clock, "tilemap", __FILE__),
- m_gfxdecode(*this),
+ m_gfxdecode(*this, finder_base::DUMMY_TAG),
m_standard_mapper(TILEMAP_STANDARD_COUNT),
m_bytes_per_entry(0),
m_tile_width(8),
@@ -1773,9 +1773,9 @@ void tilemap_device::device_start()
// allocate the tilemap
if (m_standard_mapper == TILEMAP_STANDARD_COUNT)
- machine().tilemap().create(m_gfxdecode, m_get_info, m_mapper, m_tile_width, m_tile_height, m_num_columns, m_num_rows, this);
+ machine().tilemap().create(*m_gfxdecode, m_get_info, m_mapper, m_tile_width, m_tile_height, m_num_columns, m_num_rows, this);
else
- machine().tilemap().create(m_gfxdecode, m_get_info, m_standard_mapper, m_tile_width, m_tile_height, m_num_columns, m_num_rows, this);
+ machine().tilemap().create(*m_gfxdecode, m_get_info, m_standard_mapper, m_tile_width, m_tile_height, m_num_columns, m_num_rows, this);
// find the memory, if present
const memory_share *share = memshare(tag());