summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/lemmings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/lemmings.cpp')
-rw-r--r--src/mame/drivers/lemmings.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/lemmings.cpp b/src/mame/drivers/lemmings.cpp
index 2979ab43514..b7d1dac1c17 100644
--- a/src/mame/drivers/lemmings.cpp
+++ b/src/mame/drivers/lemmings.cpp
@@ -236,8 +236,7 @@ MACHINE_CONFIG_START(lemmings_state::lemmings)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, lemmings_state, screen_vblank_lemmings))
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_lemmings)
- MCFG_PALETTE_ADD("palette", 1024)
- MCFG_PALETTE_FORMAT(XBGR)
+ PALETTE(config, m_palette).set_format(palette_device::xBGR_888, 1024);
DECO_SPRITE(config, m_sprgen[0], 0);
m_sprgen[0]->set_gfx_region(1);