summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/metalmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/metalmx.c')
-rw-r--r--src/mame/drivers/metalmx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mame/drivers/metalmx.c b/src/mame/drivers/metalmx.c
index 60e76f69e64..fe4b36e18f6 100644
--- a/src/mame/drivers/metalmx.c
+++ b/src/mame/drivers/metalmx.c
@@ -748,9 +748,7 @@ static MACHINE_CONFIG_START( metalmx, metalmx_state )
MCFG_SCREEN_VISIBLE_AREA(0, 511, 0, 383)
MCFG_SCREEN_UPDATE_DRIVER(metalmx_state, screen_update_metalmx)
- MCFG_PALETTE_LENGTH(65536)
- MCFG_PALETTE_INIT_OVERRIDE(driver_device, RRRRR_GGGGGG_BBBBB)
-
+ MCFG_PALETTE_ADD_RRRRRGGGGGGBBBBB("palette")
MCFG_FRAGMENT_ADD(cage)
MACHINE_CONFIG_END