summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wmg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wmg.cpp')
-rw-r--r--src/mame/drivers/wmg.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/wmg.cpp b/src/mame/drivers/wmg.cpp
index f33cd649002..e0476dd4ad3 100644
--- a/src/mame/drivers/wmg.cpp
+++ b/src/mame/drivers/wmg.cpp
@@ -544,8 +544,7 @@ MACHINE_CONFIG_START(wmg_state::wmg)
MCFG_VIDEO_START_OVERRIDE(williams_state,williams)
- MCFG_PALETTE_ADD("palette", 256)
- MCFG_PALETTE_INIT_OWNER(williams_state,williams)
+ PALETTE(config, m_palette, FUNC(williams_state::williams_palette), 256);
/* sound hardware */
SPEAKER(config, "speaker").front_center();