From ea3ff966732b30c0350022e64005a4c3cfa232ed Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 27 Aug 2016 05:47:36 +1000 Subject: More prep for removing pointer/reference duality (nw) --- src/emu/tilemap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/emu/tilemap.cpp') 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(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()); -- cgit v1.2.3-70-g09d2