summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/contra.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/contra.c')
-rw-r--r--src/mame/drivers/contra.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/contra.c b/src/mame/drivers/contra.c
index 85abddd6f4c..3eab2db9c67 100644
--- a/src/mame/drivers/contra.c
+++ b/src/mame/drivers/contra.c
@@ -203,11 +203,13 @@ static MACHINE_CONFIG_START( contra, contra_state )
MCFG_SCREEN_UPDATE_DRIVER(contra_state, screen_update_contra)
MCFG_GFXDECODE_ADD("gfxdecode", contra)
- MCFG_PALETTE_LENGTH(2*8*16*16)
-
+ MCFG_PALETTE_ADD("palette", 2*8*16*16)
+ MCFG_PALETTE_INIT_OWNER(contra_state, contra)
MCFG_K007121_ADD("k007121_1")
+ MCFG_K007121_PALETTE("palette")
MCFG_K007121_ADD("k007121_2")
+ MCFG_K007121_PALETTE("palette")
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")