summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/albazg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/albazg.cpp')
-rw-r--r--src/mame/drivers/albazg.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/albazg.cpp b/src/mame/drivers/albazg.cpp
index 6ba6aaf7913..52c05ed8d9e 100644
--- a/src/mame/drivers/albazg.cpp
+++ b/src/mame/drivers/albazg.cpp
@@ -390,9 +390,8 @@ MACHINE_CONFIG_START(albazg_state::yumefuda)
crtc.set_show_border_area(false);
crtc.set_char_width(8);
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_yumefuda )
- MCFG_PALETTE_ADD("palette", 0x80)
- MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_yumefuda)
+ PALETTE(config, "palette").set_format(palette_device::xRGB_555, 0x80);
/* sound hardware */