summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/toypop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/toypop.c')
-rw-r--r--src/mame/drivers/toypop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/toypop.c b/src/mame/drivers/toypop.c
index 2b26de3aa40..e25cd1e3ba1 100644
--- a/src/mame/drivers/toypop.c
+++ b/src/mame/drivers/toypop.c
@@ -567,8 +567,8 @@ static MACHINE_CONFIG_START( liblrabl, toypop_state )
MCFG_SCREEN_UPDATE_DRIVER(toypop_state, screen_update_toypop)
MCFG_GFXDECODE_ADD("gfxdecode", toypop)
- MCFG_PALETTE_LENGTH(128*4+64*4+16*2)
-
+ MCFG_PALETTE_ADD("palette", 128*4+64*4+16*2)
+ MCFG_PALETTE_INIT_OWNER(toypop_state, toypop)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")