summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taitopjc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taitopjc.cpp')
-rw-r--r--src/mame/drivers/taitopjc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/taitopjc.cpp b/src/mame/drivers/taitopjc.cpp
index 2866515694d..366e325737f 100644
--- a/src/mame/drivers/taitopjc.cpp
+++ b/src/mame/drivers/taitopjc.cpp
@@ -237,7 +237,7 @@ void taitopjc_state::video_start()
m_tilemap[0]->set_transparent_pen(0);
m_tilemap[1]->set_transparent_pen(1);
- m_gfxdecode->set_gfx(0, std::make_unique<gfx_element>(*m_palette, char_layout, (uint8_t*)m_screen_ram.get(), 0, m_palette->entries() / 256, 0));
+ m_gfxdecode->set_gfx(0, std::make_unique<gfx_element>(m_palette, char_layout, (uint8_t*)m_screen_ram.get(), 0, m_palette->entries() / 256, 0));
machine().add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(&taitopjc_state::video_exit, this));
}