diff options
Diffstat (limited to 'src/mame/drivers/ladybug.c')
-rw-r--r-- | src/mame/drivers/ladybug.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mame/drivers/ladybug.c b/src/mame/drivers/ladybug.c index c054f5f22cf..584862f2a4b 100644 --- a/src/mame/drivers/ladybug.c +++ b/src/mame/drivers/ladybug.c @@ -767,9 +767,10 @@ static MACHINE_CONFIG_START( ladybug, ladybug_state ) MCFG_SCREEN_UPDATE_DRIVER(ladybug_state, screen_update_ladybug) MCFG_GFXDECODE_ADD("gfxdecode", ladybug) - MCFG_PALETTE_LENGTH(4*8+4*16) + MCFG_PALETTE_ADD("palette", 4*8+4*16) + MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR) - MCFG_PALETTE_INIT_OVERRIDE(ladybug_state,ladybug) + MCFG_PALETTE_INIT_OWNER(ladybug_state,ladybug) MCFG_VIDEO_START_OVERRIDE(ladybug_state,ladybug) /* sound hardware */ @@ -808,9 +809,10 @@ static MACHINE_CONFIG_START( sraider, ladybug_state ) MCFG_SCREEN_VBLANK_DRIVER(ladybug_state, screen_eof_sraider) MCFG_GFXDECODE_ADD("gfxdecode", sraider) - MCFG_PALETTE_LENGTH(4*8+4*16+32+2) + MCFG_PALETTE_ADD("palette", 4*8+4*16+32+2) + MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR) - MCFG_PALETTE_INIT_OVERRIDE(ladybug_state,sraider) + MCFG_PALETTE_INIT_OWNER(ladybug_state,sraider) MCFG_VIDEO_START_OVERRIDE(ladybug_state,sraider) /* sound hardware */ |