summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/crospang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/crospang.cpp')
-rw-r--r--src/mame/drivers/crospang.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/crospang.cpp b/src/mame/drivers/crospang.cpp
index 970b70fb39d..869d08ae2f0 100644
--- a/src/mame/drivers/crospang.cpp
+++ b/src/mame/drivers/crospang.cpp
@@ -443,8 +443,7 @@ MACHINE_CONFIG_START(crospang_state::crospang)
MCFG_SCREEN_UPDATE_DRIVER(crospang_state, screen_update_crospang)
MCFG_SCREEN_PALETTE("palette")
- MCFG_PALETTE_ADD("palette", 0x300)
- MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
+ PALETTE(config, "palette").set_format(palette_device::xRGB_555, 0x300);
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_crospang)
DECO_SPRITE(config, m_sprgen, 0);