summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/terracre.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/terracre.c')
-rw-r--r--src/mame/drivers/terracre.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/terracre.c b/src/mame/drivers/terracre.c
index 9f0fdd09adb..ec5f0ddc929 100644
--- a/src/mame/drivers/terracre.c
+++ b/src/mame/drivers/terracre.c
@@ -530,8 +530,8 @@ static MACHINE_CONFIG_START( amazon, terracre_state )
MCFG_SCREEN_UPDATE_DRIVER(terracre_state, screen_update_amazon)
MCFG_GFXDECODE_ADD("gfxdecode", terracre)
- MCFG_PALETTE_LENGTH(1*16+16*16+16*256)
-
+ MCFG_PALETTE_ADD("palette", 1*16+16*16+16*256)
+ MCFG_PALETTE_INIT_OWNER(terracre_state, terracre)
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -563,8 +563,8 @@ static MACHINE_CONFIG_START( ym3526, terracre_state )
MCFG_SCREEN_UPDATE_DRIVER(terracre_state, screen_update_amazon)
MCFG_GFXDECODE_ADD("gfxdecode", terracre)
- MCFG_PALETTE_LENGTH(1*16+16*16+16*256)
-
+ MCFG_PALETTE_ADD("palette", 1*16+16*16+16*256)
+ MCFG_PALETTE_INIT_OWNER(terracre_state, terracre)
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -596,8 +596,8 @@ static MACHINE_CONFIG_START( ym2203, terracre_state )
MCFG_SCREEN_UPDATE_DRIVER(terracre_state, screen_update_amazon)
MCFG_GFXDECODE_ADD("gfxdecode", terracre)
- MCFG_PALETTE_LENGTH(1*16+16*16+16*256)
-
+ MCFG_PALETTE_ADD("palette", 1*16+16*16+16*256)
+ MCFG_PALETTE_INIT_OWNER(terracre_state, terracre)
MCFG_SPEAKER_STANDARD_MONO("mono")