summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ambush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ambush.c')
-rw-r--r--src/mame/drivers/ambush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/ambush.c b/src/mame/drivers/ambush.c
index 58a44cb3bd5..17d40bea828 100644
--- a/src/mame/drivers/ambush.c
+++ b/src/mame/drivers/ambush.c
@@ -243,8 +243,8 @@ static MACHINE_CONFIG_START( ambush, ambush_state )
MCFG_SCREEN_UPDATE_DRIVER(ambush_state, screen_update_ambush)
MCFG_GFXDECODE_ADD("gfxdecode", ambush)
- MCFG_PALETTE_LENGTH(256)
-
+ MCFG_PALETTE_ADD("palette", 256)
+ MCFG_PALETTE_INIT_OWNER(ambush_state, ambush)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")