summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/model3.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/mame/video/model3.cpp
parentdb48502ecbf882a0d4558d440a16803b1365f17d (diff)
More prep for removing pointer/reference duality (nw)
Diffstat (limited to 'src/mame/video/model3.cpp')
-rw-r--r--src/mame/video/model3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/model3.cpp b/src/mame/video/model3.cpp
index 8248bce3cfa..d83505555c6 100644
--- a/src/mame/video/model3.cpp
+++ b/src/mame/video/model3.cpp
@@ -207,7 +207,7 @@ void model3_state::video_start()
m_layer8[3] = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(model3_state::tile_info_layer3_8bit), this), TILEMAP_SCAN_ROWS, 8, 8, 64, 64);
// 4-bit tiles
- m_gfxdecode->set_gfx(0, std::make_unique<gfx_element>(m_palette, char4_layout, (UINT8*)m_m3_char_ram.get(), 0, m_palette->entries() / 16, 0));
+ m_gfxdecode->set_gfx(0, std::make_unique<gfx_element>(*m_palette, char4_layout, (UINT8*)m_m3_char_ram.get(), 0, m_palette->entries() / 16, 0));
// 8-bit tiles
m_gfxdecode->set_gfx(1, std::make_unique<gfx_element>(m_palette, char8_layout, (UINT8*)m_m3_char_ram.get(), 0, m_palette->entries() / 256, 0));