diff options
Diffstat (limited to 'src/mame/drivers/naughtyb.c')
-rw-r--r-- | src/mame/drivers/naughtyb.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/naughtyb.c b/src/mame/drivers/naughtyb.c index 860eb209635..4829b132bf6 100644 --- a/src/mame/drivers/naughtyb.c +++ b/src/mame/drivers/naughtyb.c @@ -433,8 +433,8 @@ static MACHINE_CONFIG_START( naughtyb, naughtyb_state ) MCFG_SCREEN_UPDATE_DRIVER(naughtyb_state, screen_update_naughtyb) MCFG_GFXDECODE_ADD("gfxdecode", naughtyb) - MCFG_PALETTE_LENGTH(256) - + MCFG_PALETTE_ADD("palette", 256) + MCFG_PALETTE_INIT_OWNER(naughtyb_state, naughtyb) /* sound hardware */ /* uses the TMS3615NS for sound */ @@ -465,7 +465,8 @@ static MACHINE_CONFIG_START( popflame, naughtyb_state ) MCFG_SCREEN_UPDATE_DRIVER(naughtyb_state, screen_update_naughtyb) MCFG_GFXDECODE_ADD("gfxdecode", naughtyb) - MCFG_PALETTE_LENGTH(256) + MCFG_PALETTE_ADD("palette", 256) + MCFG_PALETTE_INIT_OWNER(naughtyb_state, naughtyb) /* sound hardware */ |