summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/a51xx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/a51xx.cpp')
-rw-r--r--src/mame/drivers/a51xx.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/a51xx.cpp b/src/mame/drivers/a51xx.cpp
index 853b4ee1887..7273d616ecf 100644
--- a/src/mame/drivers/a51xx.cpp
+++ b/src/mame/drivers/a51xx.cpp
@@ -144,8 +144,7 @@ MACHINE_CONFIG_START(a51xx_state::a5120)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_a51xx)
- MCFG_PALETTE_ADD_MONOCHROME("palette")
-
+ PALETTE(config, "palette", palette_device::MONOCHROME);
MACHINE_CONFIG_END
MACHINE_CONFIG_START(a51xx_state::a5130)