diff options
Diffstat (limited to 'src/mame/drivers/astrocde.c')
-rw-r--r-- | src/mame/drivers/astrocde.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/astrocde.c b/src/mame/drivers/astrocde.c index 67a8876e78a..b9cce169924 100644 --- a/src/mame/drivers/astrocde.c +++ b/src/mame/drivers/astrocde.c @@ -1273,7 +1273,8 @@ static MACHINE_CONFIG_START( astrocade_base, astrocde_state ) /* each game has its own map */ /* video hardware */ - MCFG_PALETTE_LENGTH(512) + MCFG_PALETTE_ADD("palette", 512) + MCFG_PALETTE_INIT_OWNER(astrocde_state, astrocde) MCFG_SCREEN_ADD("screen", RASTER) MCFG_SCREEN_RAW_PARAMS(ASTROCADE_CLOCK, 455, 0, 352, 262, 0, 240) @@ -1289,9 +1290,10 @@ static MACHINE_CONFIG_DERIVED( astrocade_16color_base, astrocade_base ) MCFG_NVRAM_ADD_0FILL("nvram") /* video hardware */ - MCFG_PALETTE_LENGTH(4096) + MCFG_DEVICE_REMOVE("palette") + MCFG_PALETTE_ADD("palette", 4096) - MCFG_PALETTE_INIT_OVERRIDE(astrocde_state,profpac) + MCFG_PALETTE_INIT_OWNER(astrocde_state,profpac) MCFG_VIDEO_START_OVERRIDE(astrocde_state,profpac) MCFG_SCREEN_MODIFY("screen") |