summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/srumbler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/srumbler.cpp')
-rw-r--r--src/mame/drivers/srumbler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/srumbler.cpp b/src/mame/drivers/srumbler.cpp
index 7a1d6041c19..1eb3d4490a0 100644
--- a/src/mame/drivers/srumbler.cpp
+++ b/src/mame/drivers/srumbler.cpp
@@ -267,12 +267,11 @@ MACHINE_CONFIG_START(srumbler_state::srumbler)
MCFG_SCREEN_VISIBLE_AREA(10*8, (64-10)*8-1, 1*8, 31*8-1 )
MCFG_SCREEN_UPDATE_DRIVER(srumbler_state, screen_update)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE("spriteram", buffered_spriteram8_device, vblank_copy_rising))
- MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_PALETTE(m_palette)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_srumbler)
- MCFG_PALETTE_ADD("palette", 512)
- MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
+ PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 512);
/* sound hardware */
SPEAKER(config, "mono").front_center();