summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segapm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/segapm.cpp')
-rw-r--r--src/mame/drivers/segapm.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/segapm.cpp b/src/mame/drivers/segapm.cpp
index bbed1cd5f25..497ca93c5fe 100644
--- a/src/mame/drivers/segapm.cpp
+++ b/src/mame/drivers/segapm.cpp
@@ -73,8 +73,7 @@ MACHINE_CONFIG_START(segapm_state::segapm)
MCFG_SCREEN_UPDATE_DRIVER(segapm_state, screen_update_segapm)
MCFG_SCREEN_PALETTE("palette")
- MCFG_PALETTE_ADD("palette", 0x200)
- MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
+ PALETTE(config, "palette").set_format(palette_device::xRGB_555, 0x200);
MACHINE_CONFIG_END