diff options
Diffstat (limited to 'src/mame/drivers/ddribble.cpp')
-rw-r--r-- | src/mame/drivers/ddribble.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mame/drivers/ddribble.cpp b/src/mame/drivers/ddribble.cpp index 2736713103b..83cf4e806d0 100644 --- a/src/mame/drivers/ddribble.cpp +++ b/src/mame/drivers/ddribble.cpp @@ -285,11 +285,8 @@ MACHINE_CONFIG_START(ddribble_state::ddribble) MCFG_SCREEN_PALETTE("palette") MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, ddribble_state, vblank_irq)) - MCFG_DEVICE_ADD(m_gfxdecode, GFXDECODE, "palette", gfx_ddribble) - MCFG_PALETTE_ADD("palette", 64 + 256) - MCFG_PALETTE_INDIRECT_ENTRIES(64) - MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR) - MCFG_PALETTE_INIT_OWNER(ddribble_state, ddribble) + GFXDECODE(config, m_gfxdecode, "palette", gfx_ddribble); + PALETTE(config, "palette", FUNC(ddribble_state::ddribble_palette)).set_format(palette_device::xBGR_555, 64 + 256, 64); /* sound hardware */ SPEAKER(config, "mono").front_center(); |