summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/madmotor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/madmotor.cpp')
-rw-r--r--src/mame/drivers/madmotor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/madmotor.cpp b/src/mame/drivers/madmotor.cpp
index c1688518903..c46dd579df0 100644
--- a/src/mame/drivers/madmotor.cpp
+++ b/src/mame/drivers/madmotor.cpp
@@ -280,8 +280,7 @@ MACHINE_CONFIG_START(madmotor_state::madmotor)
MCFG_SCREEN_PALETTE("palette")
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_madmotor)
- MCFG_PALETTE_ADD("palette", 1024)
- MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
+ PALETTE(config, "palette").set_format(palette_device::xBGR_444, 1024);
DECO_BAC06(config, m_tilegen[0], 0);
m_tilegen[0]->set_gfx_region_wide(0, 0, 0);