summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cbuster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cbuster.cpp')
-rw-r--r--src/mame/drivers/cbuster.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/cbuster.cpp b/src/mame/drivers/cbuster.cpp
index ae309f0bad2..725689db30d 100644
--- a/src/mame/drivers/cbuster.cpp
+++ b/src/mame/drivers/cbuster.cpp
@@ -318,8 +318,7 @@ MACHINE_CONFIG_START(cbuster_state::twocrude)
MCFG_SCREEN_UPDATE_DRIVER(cbuster_state, screen_update_twocrude)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cbuster)
- MCFG_PALETTE_ADD("palette", 2048)
- MCFG_PALETTE_FORMAT(XBGR)
+ PALETTE(config, m_palette).set_format(palette_device::xBGR_888, 2048);
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)