summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/timelimt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/timelimt.cpp')
-rw-r--r--src/mame/drivers/timelimt.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/timelimt.cpp b/src/mame/drivers/timelimt.cpp
index 76fd2e569f3..ba8b3d1e1c6 100644
--- a/src/mame/drivers/timelimt.cpp
+++ b/src/mame/drivers/timelimt.cpp
@@ -253,11 +253,10 @@ MACHINE_CONFIG_START(timelimt_state::timelimt)
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(timelimt_state, screen_update)
- MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_PALETTE(m_palette)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_timelimt)
- MCFG_PALETTE_ADD("palette", 64+32)
- MCFG_PALETTE_INIT_OWNER(timelimt_state, timelimt)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_timelimt);
+ PALETTE(config, m_palette, FUNC(timelimt_state::timelimt_palette), 64+32);
/* sound hardware */
SPEAKER(config, "mono").front_center();