summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tryout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tryout.c')
-rw-r--r--src/mame/drivers/tryout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/tryout.c b/src/mame/drivers/tryout.c
index 762a2f17166..4490ad41ea1 100644
--- a/src/mame/drivers/tryout.c
+++ b/src/mame/drivers/tryout.c
@@ -203,8 +203,8 @@ static MACHINE_CONFIG_START( tryout, tryout_state )
MCFG_SCREEN_UPDATE_DRIVER(tryout_state, screen_update_tryout)
MCFG_GFXDECODE_ADD("gfxdecode", tryout)
- MCFG_PALETTE_LENGTH(0x20)
-
+ MCFG_PALETTE_ADD("palette", 0x20)
+ MCFG_PALETTE_INIT_OWNER(tryout_state, tryout)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")